Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Robbyant/lingbot-map
/ functions
Functions
1,058 in github.com/Robbyant/lingbot-map
⨍
Functions
1,058
◇
Types & classes
99
↓ 1 callers
Method
_encode_hd_rgb
Encode HD RGB video from a folder of original-resolution frames.
demo_render/rgbd_render/pipeline/offline.py:104
↓ 1 callers
Method
_export_glb
Export current filtered point clouds and cameras as a GLB file.
lingbot_map/vis/point_cloud_viewer.py:624
↓ 1 callers
Method
_extract_sky_probs
(self, out: np.ndarray)
benchmark/sky_seg/seg_sky.py:77
↓ 1 callers
Method
_extract_video_frames
Extract frames from video using ffmpeg, cached in a sibling dir.
benchmark/datasets/general.py:214
↓ 1 callers
Method
_first_timestep
(self)
benchmark/viewer.py:1650
↓ 1 callers
Method
_free_bytes
(self)
demo_render/rgbd_render/pipeline/gpu_mem.py:23
↓ 1 callers
Method
_from_dict
(cls, d: dict)
demo_render/rgbd_render/config.py:296
↓ 1 callers
Method
_gather_kv
Gather all visible K and V tokens from the paged cache into dense tensors. Used by force_fp32 mode to bypass the FlashInfer FA2 k
lingbot_map/layers/flashinfer_cache.py:324
↓ 1 callers
Method
_generate_point_clouds
Generate point clouds using loader's load_point_cloud_grid or global points. Args: loader: BSSLoader instance spatial
benchmark/viewer.py:1023
↓ 1 callers
Method
_get_3d_positions_streaming
Generate 3D RoPE positions for streaming mode with correct global frame indices. Args: num_frames: Number of frames in c
lingbot_map/aggregator/stream.py:266
↓ 1 callers
Function
_get_cache_version_path
(sky_mask_dir: str)
lingbot_map/vis/sky_segmentation.py:31
↓ 1 callers
Function
_get_cache_version_path
(sky_mask_dir: str)
demo_render/rgbd_render/data/sky.py:31
↓ 1 callers
Function
_get_child_offsets
()
demo_render/rgbd_render/geometry/octree.py:21
↓ 1 callers
Method
_get_colmap_data
Lazy-load COLMAP results (run pipeline if not cached).
benchmark/datasets/general.py:266
↓ 1 callers
Method
_get_colmap_poses
Lazy-load and cache all COLMAP poses for a scene.
benchmark/datasets/tnt.py:143
↓ 1 callers
Method
_get_flashinfer_manager
Lazily initialize FlashInferKVCacheManager on first use. Args: device: Device for cache tensors. dtype: Data type for
lingbot_map/aggregator/stream.py:198
↓ 1 callers
Method
_get_intermediate_layers_chunked
(self, x, n=1)
lingbot_map/layers/vision_transformer.py:299
↓ 1 callers
Method
_get_intermediate_layers_not_chunked
(self, x, n=1)
lingbot_map/layers/vision_transformer.py:287
↓ 1 callers
Function
_get_mask_filename
(image_paths: Optional[list[str]], index: int)
lingbot_map/vis/sky_segmentation.py:177
↓ 1 callers
Method
_init_3d_rope
Initialize 3D RoPE for streaming inference.
lingbot_map/aggregator/stream.py:250
↓ 1 callers
Method
_init_blocks_from_dino
Initialize frame_blocks and global_blocks from DINOv2 pretrained weights. Args: dino_ckpt: Checkpoint dictionary from DI
lingbot_map/aggregator/base.py:278
↓ 1 callers
Method
_init_kv_cache
Initialize KV cache for streaming inference.
lingbot_map/aggregator/stream.py:179
↓ 1 callers
Method
_last_timestep
(self)
benchmark/viewer.py:1654
↓ 1 callers
Method
_list_datasets
(self)
benchmark/benchmark/report/manifest_builder.py:320
↓ 1 callers
Method
_load_config
(self)
benchmark/benchmark/core/config.py:80
↓ 1 callers
Method
_load_depth
Load depth map. 7Scenes depth maps are 16-bit PNG in millimeters, need conversion to meters. Args: depth_file: Path to d
benchmark/datasets/seven_scenes.py:176
↓ 1 callers
Method
_load_focal
Read focal length from focal.txt. Args: scene: Scene name. Returns: Focal length in pixels (fx = fy).
benchmark/datasets/neural_rgbd.py:116
↓ 1 callers
Method
_load_intrinsics
Load and cache intrinsics from intrinsics.txt. File format: "fx fy cx cy width height" (single line). Returns [fx, fy, cx, cy], dtype
benchmark/datasets/oxford_spires.py:128
↓ 1 callers
Method
_load_model
Load LingbotMap (GCTStream) model from checkpoint.
benchmark/methods/lingbot_map.py:108
↓ 1 callers
Function
_load_perframe_dir
Load a per-frame NPZ directory with parallel I/O. Returns a single dict where each key has arrays stacked along a new leading dimension (S, .
demo_render/rgbd_render/data/loader.py:37
↓ 1 callers
Method
_load_pose
Load pose file (4x4 C2W matrix). Args: pose_file: Path to pose text file Returns: 4x4 C2W transformation mat
benchmark/datasets/seven_scenes.py:208
↓ 1 callers
Method
_load_rgb
Load RGB image. Args: color_file: Path to RGB image file Returns: HxWx3 RGB image (uint8, 0-255)
benchmark/datasets/seven_scenes.py:163
↓ 1 callers
Method
_load_trajectory
Load trajectory, returns dict mapping frame index (int) to C2W matrices. Args: loader: BSSLoader instance Returns:
benchmark/viewer.py:933
↓ 1 callers
Function
_lookat_w2c
W2C (4x4) in OpenCV convention. Camera +Z = forward.
demo_render/interactive_viewer/camera.py:17
↓ 1 callers
Method
_make_frame_nodes
Create viser handles for a single frame.
benchmark/viewer.py:1472
↓ 1 callers
Function
_make_gradient_trail
Create camera trajectory as gradient-colored cylinders. Args: positions: (N, 3) camera positions in world space radius: cylinder
demo_render/interactive_viewer/npz_to_glb.py:43
↓ 1 callers
Function
_make_log
()
demo_render/rgbd_scan_render.py:29
↓ 1 callers
Method
_metric_definitions
(self)
benchmark/benchmark/report/manifest_builder.py:336
↓ 1 callers
Method
_move_to_camera
Move viewer camera to match reconstructed camera at given frame.
lingbot_map/vis/point_cloud_viewer.py:865
↓ 1 callers
Function
_nearest_index
Return the index of the nearest timestamp, or None if the array is empty.
benchmark/datasets/tum.py:86
↓ 1 callers
Method
_normalize_input
(self, images: torch.Tensor, query_points=None)
lingbot_map/models/gct_base.py:132
↓ 1 callers
Function
_orthogonalize_se3
Orthogonalize the rotation part of a 4x4 SE3 matrix via SVD. Required because evo validates SO(3) membership, but some datasets (e.g., 7Scene
benchmark/benchmark/evaluation/trajectory.py:52
↓ 1 callers
Method
_pairwise_alignment
Compute (scale, R, t) that maps *curr* into *prev*'s coordinate frame. Anchors on the latest physical time step inside the overlap region
lingbot_map/models/gct_stream_window.py:757
↓ 1 callers
Method
_pairwise_alignment
Compute (scale, R, t) that maps *curr* into *prev*'s coordinate frame. Anchors on the latest physical time step inside the overlap region
lingbot_map/models/gct_stream_window_v2.py:820
↓ 1 callers
Function
_parse_groundtruth
Parse a TUM groundtruth.txt into timestamps and C2W matrices. Format per line: timestamp tx ty tz qx qy qz qw (comment lines start with '#')
benchmark/datasets/tum.py:54
↓ 1 callers
Function
_parse_intrinsics
Read a 3x3 intrinsics matrix and return [fx, fy, cx, cy].
benchmark/datasets/vbr.py:174
↓ 1 callers
Function
_parse_intrinsics_p2
Extract [fx, fy, cx, cy] from the P2 row of KITTI calib.txt. P2 is a 3x4 projection matrix for the left color camera (cam_2), in the rectifie
benchmark/datasets/kitti.py:203
↓ 1 callers
Function
_parse_kv_debug_interval
(val: str)
lingbot_map/models/gct_stream.py:30
↓ 1 callers
Function
_parse_kv_debug_interval
Parse LINGBOT_DEBUG_KV env var into a print-every-N interval. Accepts: "" (disabled) | "0" (disabled) | "1" (every frame) | "N" (eve
lingbot_map/models/gct_stream_window_v2.py:34
↓ 1 callers
Function
_parse_poses
Parse KITTI poses file: one line per frame, 12 floats = 3x4 row-major C2W.
benchmark/datasets/kitti.py:225
↓ 1 callers
Function
_parse_raw_data
Parse raw NPZ arrays into the standardized format. Handles both single-file and per-frame-dir data (same key structure). Returns dict: image
demo_render/rgbd_render/data/loader.py:70
↓ 1 callers
Function
_parse_tum_trajectory
Parse a TUM trajectory file into (timestamps, C2W 4x4 matrices). Each data line: timestamp tx ty tz qx qy qz qw (scalar-last quaternion) Th
benchmark/datasets/droid_w.py:151
↓ 1 callers
Function
_parse_tum_trajectory_indexed
Parse a TUM-style trajectory; key each pose by its integer timestamp. Each non-comment line: timestamp tx ty tz qx qy qz qw The timestamp is
benchmark/datasets/vbr.py:184
↓ 1 callers
Method
_paste_camera_view
Paste camera view parameters from global clipboard.
benchmark/viewer.py:1837
↓ 1 callers
Method
_predict_camera
( self, aggregated_tokens_list: list, mask: Optional[torch.Tensor] = None, cau
lingbot_map/models/gct_base.py:152
↓ 1 callers
Method
_predict_depth
( self, aggregated_tokens_list: list, images: torch.Tensor, patch_start_idx: i
lingbot_map/models/gct_base.py:184
↓ 1 callers
Method
_predict_local_points
( self, aggregated_tokens_list: list, images: torch.Tensor, patch_start_idx: i
lingbot_map/models/gct_base.py:228
↓ 1 callers
Method
_predict_points
( self, aggregated_tokens_list: list, images: torch.Tensor, patch_start_idx: i
lingbot_map/models/gct_base.py:206
↓ 1 callers
Method
_prepare_blockwise_causal_attn_mask
we will divide the token sequence into the following format [1 latent frame] [1 latent frame] ... [1 latent frame] We use fle
lingbot_map/layers/block.py:379
↓ 1 callers
Method
_prepare_images
Convert list of HxWx3 uint8 numpy arrays to [S, 3, H, W] tensor in [0, 1].
benchmark/methods/lingbot_map.py:141
↓ 1 callers
Method
_prepare_special_tokens
Prepare special tokens (camera, register, optionally scale). Subclasses implement mode-specific token preparation. Args:
lingbot_map/aggregator/base.py:398
↓ 1 callers
Method
_preprocess
(self, rgb_hw3: np.ndarray)
benchmark/sky_seg/seg_sky.py:73
↓ 1 callers
Method
_process_causal_stream
Causal attention for streaming inference using FlashInfer KV cache. Args: tokens: Input tokens [B*S_local, P, C]
lingbot_map/aggregator/stream.py:415
↓ 1 callers
Method
_process_frame_attention
Process frame attention blocks. Frame attention operates independently per frame (no cross-frame communication). Tokens stay
lingbot_map/aggregator/base.py:444
↓ 1 callers
Method
_process_global_attention
Process global (cross-frame) attention blocks. Subclasses implement mode-specific attention logic. Args: tokens
lingbot_map/aggregator/base.py:503
↓ 1 callers
Method
_process_outputs
Convert model predictions to benchmark output format. Args: predictions: Raw model outputs with 'pose_enc', 'depth', 'depth_conf'
benchmark/methods/lingbot_map.py:190
↓ 1 callers
Method
_process_pred_dict
Process prediction dictionary to extract visualization data. Args: pred_dict: Model prediction dictionary. use_point_
lingbot_map/vis/point_cloud_viewer.py:134
↓ 1 callers
Function
_read_tat_trajectory
Read a COLMAP SfM .log file and return list of 4x4 C2W matrices. Log format: 5 lines per entry Line 1: metadata (idx idx 0) Lines 2-5
benchmark/datasets/tnt.py:36
↓ 1 callers
Method
_remove_keys
(self, payload: Any, keys_to_remove: set[str])
benchmark/benchmark/report/manifest_builder.py:298
↓ 1 callers
Method
_resolve_aoi_mask_dir
Find mask/ directory: check self.artifact.root first, then sibling gt/.
benchmark/benchmark/core/loader.py:391
↓ 1 callers
Function
_resolve_keyframe_interval
Resolve a raw config value into a concrete keyframe interval. ``None``, ``0``, or the string ``"auto"`` triggers auto-selection: ``1`` when `
benchmark/methods/lingbot_map.py:24
↓ 1 callers
Method
_rotate_features
Performs feature rotation by splitting and recombining feature dimensions. Args: x: Input tensor to rotate. Returns:
lingbot_map/layers/rope.py:125
↓ 1 callers
Method
_rotation_angle
Compute rotation angle error between ground truth and predicted rotations.
benchmark/benchmark/evaluation/auc.py:126
↓ 1 callers
Method
_run_colmap
Run COLMAP SfM pipeline and parse results. Returns: Dict with 'poses' and 'intrinsics' keyed by image filename, or No
benchmark/datasets/general.py:282
↓ 1 callers
Method
_run_inference
Run LingbotMap inference and return raw predictions dict.
benchmark/methods/lingbot_map.py:149
↓ 1 callers
Function
_run_inference_mode
Handle main inference mode: load model, optionally compile, process scenes.
demo_render/batch_demo.py:1431
↓ 1 callers
Function
_run_load_predictions_mode
Handle --load_predictions mode: render or visualize saved NPZ files.
demo_render/batch_demo.py:1348
↓ 1 callers
Method
_run_parallel
D-lite parallel rendering via SharedMemory.
demo_render/rgbd_render/pipeline/offline.py:165
↓ 1 callers
Method
_run_serial
Render all frames in the main process.
demo_render/rgbd_render/pipeline/offline.py:139
↓ 1 callers
Function
_run_sky_mask_only_mode
Handle --visualize_sky_mask_only mode for discovered scenes.
demo_render/batch_demo.py:1399
↓ 1 callers
Method
_run_sky_segmentation
Run batched sky segmentation using ONNX-based SkySegmenter. Args: rgb_list: List of uint8 RGB images. Returns:
benchmark/viewer.py:1863
↓ 1 callers
Function
_sanity_check
Minimal smoke test. Run with: python -c "from lingbot_map.layers.flashinfer_cache import _sanity_check; _sanity_check()"
lingbot_map/layers/flashinfer_cache.py:567
↓ 1 callers
Method
_save_custom_global_data
Save custom global data using context's __save_{key}_file__ method.
benchmark/benchmark/core/saver.py:425
↓ 1 callers
Method
_save_original_video
Save original images as video.
lingbot_map/vis/point_cloud_viewer.py:1371
↓ 1 callers
Method
_save_pointcloud
Save global point cloud.
benchmark/benchmark/core/saver.py:404
↓ 1 callers
Method
_setup_gui
Setup GUI controls.
lingbot_map/vis/point_cloud_viewer.py:291
↓ 1 callers
Method
_setup_special_tokens
Setup camera token, register tokens, and optionally scale token. Subclasses implement mode-specific token initialization. M
lingbot_map/aggregator/base.py:263
↓ 1 callers
Method
_sort_finest_level
Sort finest-level centroids by frame → CPU numpy for Scene.
demo_render/rgbd_render/geometry/octree.py:359
↓ 1 callers
Function
_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
lingbot_map/utils/geometry.py:665
↓ 1 callers
Function
_sqrt_positive_part
Returns torch.sqrt(torch.max(0, x)) but with a zero subgradient where x is 0.
lingbot_map/utils/rotation.py:106
↓ 1 callers
Function
_static_camera
Compute a static camera. Defaults from start frame pose if not given.
demo_render/rgbd_render/camera.py:461
↓ 1 callers
Method
_stitch_windows
Concatenate per-window predictions while de-duplicating overlaps. For each temporal key the method builds a slice table first — every
lingbot_map/models/gct_stream_window.py:677
↓ 1 callers
Method
_stitch_windows
Concatenate per-window predictions while de-duplicating overlaps. For each temporal key the method builds a slice table first — every
lingbot_map/models/gct_stream_window_v2.py:740
↓ 1 callers
Method
_take_screenshot
Capture a screenshot from the current view and save to file. Args: client: The viser client that triggered the action. If None,
lingbot_map/vis/point_cloud_viewer.py:1239
↓ 1 callers
Method
_to_dict
(self)
demo_render/rgbd_render/config.py:329
↓ 1 callers
Method
_translation_angle
Compute translation angle error between ground truth and predicted translations.
benchmark/benchmark/evaluation/auc.py:139
↓ 1 callers
Method
_update_camera_clipping_planes
Update camera clipping planes based on scene bounds.
benchmark/viewer.py:1562
↓ 1 callers
Method
_update_cameras_visibility
Update camera frustums visibility based on checkbox.
benchmark/viewer.py:1796
↓ 1 callers
Method
_update_scene_bounds
Update scene bounding box.
benchmark/viewer.py:1547
↓ 1 callers
Method
_update_trail_geometry
Add/update camera trajectory as gradient-colored line segments.
demo_render/interactive_viewer/server.py:322
← previous
next →
401–500 of 1,058, ranked by callers