MCPcopy Create free account

hub / github.com/Robbyant/lingbot-map / functions

Functions1,058 in github.com/Robbyant/lingbot-map

↓ 103 callersMethodexists
(self)
benchmark/benchmark/core/storage.py:84
↓ 25 callersMethodadd
(self, camera: OrbitCamera, frame_idx: int = 0)
demo_render/interactive_viewer/camera.py:197
↓ 22 callersMethodcopy
Return a new BSSLoader with the same artifact, resize_context, and context.
benchmark/benchmark/core/loader.py:48
↓ 19 callersMethodclear
(self)
demo_render/interactive_viewer/camera.py:211
↓ 19 callersFunctionescapeAttr
(value)
benchmark/benchmark/report/templates/app.js:827
↓ 18 callersMethodcopy
(self)
demo_render/interactive_viewer/camera.py:152
↓ 16 callersMethodforward
Forward pass of the GCT model. Args: images: Input images [S, 3, H, W] or [B, S, 3, H, W], in range [0, 1] q
lingbot_map/models/gct_base.py:287
↓ 14 callersFunctionapply_rotary_emb
Apply 3D rotary position embedding using real arithmetic (torch.compile-safe). Equivalent to complex multiplication but avoids torch.view_as_comp
lingbot_map/layers/rope.py:435
↓ 14 callersMethodclean_kv_cache
Clean KV cache in aggregator. Call this method when starting a new video sequence to clear cached key-value pairs from previ
lingbot_map/models/gct_stream.py:284
↓ 14 callersFunctionescapeHtml
(value)
benchmark/benchmark/report/templates/app.js:818
↓ 14 callersMethodget_num_frames
Get the number of frames from .complete.json metadata. Returns: Number of frames in this scene Raises: Value
benchmark/benchmark/core/loader.py:56
↓ 14 callersMethodload
Load cached scene data. Returns: Tuple of (trajectory_dict, point_clouds_list, is_aligned)
benchmark/viewer.py:153
↓ 13 callersFunction_apply
Override cfg field from args. - Without --config: always applies the CLI value (preserves legacy behavior, including baked-in argpa
demo_render/batch_demo.py:783
↓ 12 callersMethodget_artifact
Return the BSSArtifact for a GT or method directory. Args: dataset_name: Dataset config name scene: Scene name
benchmark/benchmark/core/storage.py:189
↓ 10 callersMethod_set_skip_append
Set _skip_append flag on all KV caches (aggregator + camera head). When skip=True, attention layers will attend to [cached_kv + current_kv]
lingbot_map/models/gct_stream.py:300
↓ 10 callersMethodload_trajectory
Load camera trajectory. Returns: np.ndarray of shape (N, 4, 4), with NaN 4x4 matrices for missing poses. N is always
benchmark/benchmark/core/loader.py:325
↓ 9 callersFunction_normalize
(v: np.ndarray)
demo_render/interactive_viewer/camera.py:12
↓ 9 callersMethodload_point_cloud_grid
Load colored point cloud in world coordinates. This method loads colored 3D point clouds in world coordinate system from two sources:
benchmark/benchmark/core/loader.py:401
↓ 9 callersFunctionsetStatus
(message, type = 'ok')
benchmark/benchmark/report/templates/app.js:789
↓ 8 callersFunction_log
(msg)
demo_render/batch_demo.py:772
↓ 8 callersFunctionclosed_form_inverse_se3
Compute the inverse of each 4x4 (or 3x4) SE3 matrix in a batch. If `R` and `T` are provided, they must correspond to the rotation and transl
lingbot_map/utils/geometry.py:130
↓ 8 callersMethodforward
(self, x: Tensor)
lingbot_map/layers/mlp.py:34
↓ 8 callersFunctionfps
(ms)
gct_profile.py:156
↓ 8 callersMethodglobal_context
(cls)
benchmark/viewer.py:1884
↓ 8 callersMethodis_complete
(self)
benchmark/benchmark/core/storage.py:95
↓ 8 callersMethodload
Load from JSON.
demo_render/rgbd_render/camera.py:252
↓ 8 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics. This function performs the inverse operation of extri_intri_to_pose_encoding,
lingbot_map/utils/pose_enc.py:72
↓ 8 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
lingbot_map/utils/rotation.py:14
↓ 8 callersMethodrun
Run the viewer.
lingbot_map/vis/point_cloud_viewer.py:1425
↓ 7 callersMethodadd_frame
( self, xyz: np.ndarray, rgb: np.ndarray, conf: Optional[np.ndarray] = None )
demo_render/interactive_viewer/server.py:140
↓ 7 callersFunctionemptyHtml
(message)
benchmark/benchmark/report/templates/app.js:785
↓ 7 callersMethodget_frame_indices
Get the original GT frame indices for stored frames. For sparse SLAM outputs (K < N), returns the 'frame_index_map' list stored in .c
benchmark/benchmark/core/loader.py:75
↓ 7 callersMethodload_rgb_list
Load all RGB images in frame index order (000000.png, 000001.png, ...). For sparse outputs (e.g. SLAM keyframe-only), frames without a saved
benchmark/benchmark/core/loader.py:172
↓ 7 callersMethodread_metadata
(self)
benchmark/benchmark/core/storage.py:111
↓ 7 callersMethodto_dict
(self)
demo_render/rgbd_render/camera.py:58
↓ 6 callersFunction_dataclass_from_dict
Create dataclass instance from dict, ignoring unknown keys.
demo_render/rgbd_render/config.py:355
↓ 6 callersFunction_import_open3d
()
demo_render/rgbd_render/renderer.py:26
↓ 6 callersFunction_mask_to_float
(mask: np.ndarray)
demo_render/rgbd_render/data/sky.py:57
↓ 6 callersMethod_reset_view_to_direction
Reset the viewer camera to look at scene center from a given direction. Args: direction: Unit vector pointing FROM the scene cent
lingbot_map/vis/point_cloud_viewer.py:258
↓ 6 callersMethod_set_config_mode
Toggle between config mode (True) and viewing mode (False). Config mode: Load enabled, rebuild params enabled, dropdowns enabled, Clear Cach
benchmark/viewer.py:772
↓ 6 callersMethodappend_frame
Append one frame's K/V tensors to the two-stream cache. Token layout must be: [camera, reg0, ..., regN, scale, patch0, ..., patch
lingbot_map/layers/flashinfer_cache.py:202
↓ 6 callersFunctionapply_transform
Apply a 4x4 transformation matrix to a set of 3D points. This function transforms 3D points using a homogeneous transformation matrix. Only t
benchmark/benchmark/geometry/registration.py:8
↓ 6 callersFunctioncleanup
()
scripts/benchmark_gct_memory.py:137
↓ 6 callersMethodcompute_attention
Compute cross-frame attention using FlashInfer BatchPrefillWithPagedKVCacheWrapper. When self.force_fp32 is True, gathers all vis
lingbot_map/layers/flashinfer_cache.py:349
↓ 6 callersFunctiondistance
Compute nearest neighbor distances from source points to target points. For each point in the source point cloud, finds the distance to its neare
benchmark/benchmark/evaluation/points.py:10
↓ 6 callersFunctionfetchJson
(path)
benchmark/benchmark/report/templates/app.js:761
↓ 6 callersFunctioninduced_flow
optical flow induced by camera motion
lingbot_map/utils/geometry.py:398
↓ 6 callersMethodload_depth_list
Load all depth maps in frame index order. Returns: List of HxW depth maps (float32, meters), resized if resize_context is set.
benchmark/benchmark/core/loader.py:206
↓ 6 callersMethodrollback_last_frame
Undo the most recent ``append_frame()`` for *block_idx*. This reverses all three sub-operations of ``append_frame``: patch page al
lingbot_map/layers/flashinfer_cache.py:268
↓ 6 callersMethodrun
(self)
benchmark/viewer.py:515
↓ 6 callersMethodsave
Save scene data to cache. Args: traj_dict: Dictionary mapping frame index (int) to C2W matrices point_clouds: List
benchmark/viewer.py:191
↓ 6 callersFunctionslice_expand_and_flatten
Helper function to slice, expand and flatten tokens. Args: token: Token tensor [1, 2, N, C] where first index is for first frames
lingbot_map/aggregator/base.py:30
↓ 5 callersFunction_array_to_evo_trajectory
Convert valid pose array to evo PoseTrajectory3D. Orthogonalizes rotations at the evo boundary to satisfy SO(3) validation. Args: po
benchmark/benchmark/evaluation/trajectory.py:83
↓ 5 callersFunction_image_to_rgb_uint8
(image: np.ndarray)
demo_render/rgbd_render/data/sky.py:74
↓ 5 callersFunction_mask_to_float
(mask: np.ndarray)
lingbot_map/vis/sky_segmentation.py:75
↓ 5 callersFunction_mask_to_uint8
(mask: np.ndarray)
lingbot_map/vis/sky_segmentation.py:82
↓ 5 callersMethod_resize_to_gt
Resize spatial data to GT resolution if it differs from method resolution. Args: data: Input array (HxW or HxWxC)
benchmark/benchmark/core/saver.py:118
↓ 5 callersFunction_result_map_to_non_sky_conf
(result_map: np.ndarray)
demo_render/rgbd_render/data/sky.py:90
↓ 5 callersMethod_run_colmap_cmd
Execute a COLMAP sub-command; return True on success.
benchmark/datasets/general.py:369
↓ 5 callersFunction_squeeze_single_batch
Drop the leading batch dimension for single-sequence demo outputs.
demo.py:268
↓ 5 callersFunction_squeeze_single_batch
Drop the leading batch dimension for single-sequence demo outputs.
demo_render/demo.py:147
↓ 5 callersMethod_write_json
(self, relative_path: str, payload: Any)
benchmark/benchmark/report/generator.py:65
↓ 5 callersFunctioncategoryLabel
(category)
benchmark/benchmark/report/templates/app.js:714
↓ 5 callersMethodget_camera
Interpolate keyframes to get camera at any frame.
demo_render/rgbd_render/camera.py:185
↓ 5 callersMethodinsert
(self, pts_xyz: np.ndarray, pts_rgb: np.ndarray, frame_idx: int)
demo_render/rgbd_render/geometry/voxel.py:32
↓ 5 callersMethodinterpolate
()
lingbot_map/vis/point_cloud_viewer.py:921
↓ 5 callersFunctionmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
lingbot_map/utils/rotation.py:47
↓ 5 callersMethodreset
Reset all per-block state for a new sequence.
lingbot_map/layers/flashinfer_cache.py:423
↓ 5 callersMethodrun
Full pipeline: render → encode → cleanup.
demo_render/rgbd_render/pipeline/offline.py:42
↓ 5 callersMethodsave_dataset_eval
Save dataset-level aggregation entry.
benchmark/benchmark/core/storage.py:270
↓ 5 callersFunctionupdateUrl
()
benchmark/benchmark/report/templates/app.js:769
↓ 5 callersMethodupdate_geometry
Rebuild point cloud geometry using octree LOD selection.
demo_render/interactive_viewer/server.py:253
↓ 4 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
lingbot_map/heads/dpt_head.py:43
↓ 4 callersMethod_align_to_first_camera
Align all camera poses to the first camera's coordinate frame.
benchmark/benchmark/evaluation/auc.py:120
↓ 4 callersFunction_filter_valid_pose_pairs
Drop frame pairs where GT or pred pose contains NaN/Inf. Logs a WARNING if any pairs are dropped (indicates some GT frames lack valid poses,
benchmark/benchmark/evaluation/trajectory.py:17
↓ 4 callersFunction_import_open3d
()
demo_render/interactive_viewer/server.py:107
↓ 4 callersFunction_make_fusion_block
(features: int, size: int = None, has_residual: bool = True, groups: int = 1)
lingbot_map/heads/dpt_head.py:302
↓ 4 callersFunction_make_fusion_block_slam
(features, use_bn, size=None)
lingbot_map/heads/dpt_head.py:602
↓ 4 callersFunction_make_solid_ramp
Create a ramp that fades from a base color to darker.
demo_render/rgbd_render/overlay.py:46
↓ 4 callersFunction_mask_to_uint8
(mask: np.ndarray)
demo_render/rgbd_render/data/sky.py:64
↓ 4 callersMethod_set_defer_eviction
Set defer-eviction flag on FlashInfer manager and SDPA caches. While True, eviction is suppressed so that rollback can cleanly undo t
lingbot_map/models/gct_stream_window.py:362
↓ 4 callersMethod_set_defer_eviction
Set defer-eviction flag on FlashInfer manager and SDPA caches. While True, eviction is suppressed so that rollback can cleanly undo t
lingbot_map/models/gct_stream_window_v2.py:425
↓ 4 callersMethod_set_skip_append
Set _skip_append flag on all KV caches (aggregator + camera head). When skip=True, attention layers will attend to [cached_kv + current_kv]
lingbot_map/models/gct_stream_window.py:341
↓ 4 callersMethod_set_skip_append
Set _skip_append flag on all KV caches (aggregator + camera head). When skip=True, attention layers will attend to [cached_kv + current_kv]
lingbot_map/models/gct_stream_window_v2.py:404
↓ 4 callersMethod_update_extra_geoms
(self, geoms: List[dict])
demo_render/rgbd_render/renderer.py:261
↓ 4 callersMethod_update_frame_visibility
Update frame visibility based on timeline.
benchmark/viewer.py:1765
↓ 4 callersFunctionavg_ms
(pos, window=30)
gct_profile.py:151
↓ 4 callersMethodclean_kv_cache
Clean KV cache in aggregator. Call this method when starting a new video sequence to clear cached key-value pairs from previ
lingbot_map/models/gct_stream_window.py:325
↓ 4 callersMethodclean_kv_cache
Clean KV cache in aggregator. Call this method when starting a new video sequence to clear cached key-value pairs from previ
lingbot_map/models/gct_stream_window_v2.py:388
↓ 4 callersMethodevict_frames
Evict old window patch pages (recycle to free list). Special pages are NEVER evicted. Scale pages are NEVER evicted.
lingbot_map/layers/flashinfer_cache.py:229
↓ 4 callersFunctionfindScene
(sceneId)
benchmark/benchmark/report/templates/app.js:757
↓ 4 callersFunctionflattenMetrics
(value, prefix = '')
benchmark/benchmark/report/templates/app.js:659
↓ 4 callersMethodforward
(self)
demo_render/interactive_viewer/camera.py:50
↓ 4 callersMethodget_image_dimensions
Get image dimensions from metadata. Returns: (width, height) tuple
benchmark/benchmark/core/loader.py:93
↓ 4 callersMethodget_workspace
Get workspace path from configuration.
benchmark/benchmark/core/config.py:142
↓ 4 callersMethodhas_eval
Check if evaluation result exists for given type.
benchmark/benchmark/core/storage.py:134
↓ 4 callersMethodinference_streaming
Streaming inference: process scale frames first, then frame-by-frame. This method enables efficient online inference by: 1.
lingbot_map/models/gct_stream.py:350
↓ 4 callersMethodinference_windowed
Windowed inference with keyframe detection and cross-window alignment. Each window is processed independently with a fresh KV cache.
lingbot_map/models/gct_stream_window.py:959
↓ 4 callersMethodlist_scenes
List all scenes in a dataset directory (sanitized, flat format).
benchmark/benchmark/core/storage.py:205
↓ 4 callersFunctionload_and_preprocess_images
A quick start function to load and preprocess images for model input. This assumes the images should have the same shape for easier batching,
lingbot_map/utils/load_fn.py:104
next →1–100 of 1,058, ranked by callers