MCPcopy Create free account

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

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

↓ 2 callersFunction_list_image_files
(image_folder: str)
lingbot_map/vis/sky_segmentation.py:155
↓ 2 callersFunction_list_image_files
(image_folder: str)
demo_render/rgbd_render/data/sky.py:94
↓ 2 callersMethod_load_class
Load a class from a module path. Args: module_path: Python module path (e.g., 'datasets.seven_scenes'). class_name: C
benchmark/benchmark/core/registry.py:63
↓ 2 callersMethod_load_intrinsics_as_dict
Load intrinsics, returns dict mapping frame index (int) to [fx,fy,cx,cy]. Args: loader: BSSLoader instance Returns:
benchmark/viewer.py:955
↓ 2 callersMethod_load_poses
Read poses.txt and return all C2W matrices in OpenCV convention. poses.txt contains 4×4 matrices stored 4 lines each (row-major), in
benchmark/datasets/neural_rgbd.py:83
↓ 2 callersMethod_load_poses
Load and cache all C2W poses from poses_c2w.txt. Each line contains 16 space-separated floats (4x4 matrix, row-major). Returns shape
benchmark/datasets/oxford_spires.py:110
↓ 2 callersMethod_load_scene_data
(self, scene: str)
benchmark/datasets/vbr.py:136
↓ 2 callersMethod_load_scene_data
(self, scene: str)
benchmark/datasets/kitti.py:161
↓ 2 callersMethod_load_scene_data
Lazy-load and cache per-scene RGB file list and GT trajectory.
benchmark/datasets/tum.py:187
↓ 2 callersMethod_load_scene_data
(self, scene: str)
benchmark/datasets/droid_w.py:110
↓ 2 callersFunction_log_kv_stats
One-line dump of aggregator KV cache occupancy + aux counters.
lingbot_map/models/gct_stream.py:41
↓ 2 callersFunction_make_scratch
(in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False)
lingbot_map/heads/dpt_head.py:316
↓ 2 callersFunction_mark_step
()
demo_render/batch_demo.py:88
↓ 2 callersMethod_merge_batch
(self)
demo_render/rgbd_render/geometry/voxel.py:54
↓ 2 callersFunction_normalize_ext
(ext)
demo_render/batch_demo.py:211
↓ 2 callersFunction_normalize_skyseg_output
Normalize a single raw score map to uint8 [0, 255].
demo_render/rgbd_render/data/sky.py:148
↓ 2 callersMethod_parse_colmap_results
Parse COLMAP sparse reconstruction into poses + intrinsics.
benchmark/datasets/general.py:394
↓ 2 callersMethod_parse_colmap_text
Parse COLMAP text-format cameras.txt + images.txt. Returns dict with: 'poses': {image_name: 4x4 C2W float32} 'intrin
benchmark/datasets/general.py:419
↓ 2 callersFunction_prepare_sky_mask_cache
Ensure the sky mask cache directory exists and write the version stamp.
lingbot_map/vis/sky_segmentation.py:35
↓ 2 callersFunction_prepare_sky_mask_cache
(sky_mask_dir: Optional[str])
demo_render/rgbd_render/data/sky.py:35
↓ 2 callersFunction_preprocess_skyseg
Preprocess a single BGR image for skyseg ONNX model. Returns (3, H, W) float32.
demo_render/rgbd_render/data/sky.py:138
↓ 2 callersMethod_read_json
(self, path: Path)
benchmark/benchmark/report/manifest_builder.py:290
↓ 2 callersMethod_read_layer_jsons
( self, eval_dir: Path, categories: tuple[str, ...], artifact_prefix: str,
benchmark/benchmark/report/manifest_builder.py:233
↓ 2 callersMethod_regenerate_cameras
Regenerate camera visualizations with current settings.
lingbot_map/vis/point_cloud_viewer.py:606
↓ 2 callersMethod_regenerate_point_clouds
Regenerate all point clouds with current settings.
lingbot_map/vis/point_cloud_viewer.py:573
↓ 2 callersMethod_render_and_postprocess
Render to image, apply EDL if depth provided. When EDL is active, uses point-cloud-only depth (edl_depth) for shading and a second de
demo_render/rgbd_render/renderer.py:234
↓ 2 callersMethod_render_frame_fallback
Fallback rendering when screenshot capture fails.
lingbot_map/vis/point_cloud_viewer.py:1410
↓ 2 callersFunction_render_with_overlays
Apply overlays then render.
demo_render/rgbd_render/pipeline/parallel.py:135
↓ 2 callersMethod_reset_camera_view
Reset camera to view the first frame.
benchmark/viewer.py:1578
↓ 2 callersMethod_rollback_last_frame
Rollback the most recent frame from all caches. Undoes append_frame on FlashInfer manager (all blocks), trims the camera head SDPA ca
lingbot_map/models/gct_stream_window.py:379
↓ 2 callersMethod_rollback_last_frame
Rollback the most recent frame from all caches. Undoes append_frame on FlashInfer manager (all blocks), trims the camera head SDPA ca
lingbot_map/models/gct_stream_window_v2.py:442
↓ 2 callersMethod_sanitize_auc
(self, payload: Any)
benchmark/benchmark/report/manifest_builder.py:294
↓ 2 callersMethod_save_eval_entry
Read-modify-write: read existing json, update method key, write back.
benchmark/benchmark/core/storage.py:240
↓ 2 callersFunction_save_sky_mask_visualization
( image: np.ndarray, sky_mask: np.ndarray, output_path: str, )
lingbot_map/vis/sky_segmentation.py:183
↓ 2 callersFunction_save_sky_mask_visualization
( image: np.ndarray, sky_mask: np.ndarray, output_path: str, )
demo_render/rgbd_render/data/sky.py:106
↓ 2 callersMethod_se3_to_relative_pose_error
Compute relative pose errors between frame pairs (W2C format).
benchmark/benchmark/evaluation/auc.py:157
↓ 2 callersMethod_smooth_camera_transition
Smoothly transition camera to target pose using look_at based control. Args: client: Viser client handle. target_posi
lingbot_map/vis/point_cloud_viewer.py:902
↓ 2 callersMethod_to_class_name
Convert module name to expected class name. Converts snake_case to PascalCase and appends 'Dataset' or 'Method'. Examples:
benchmark/benchmark/core/registry.py:97
↓ 2 callersMethod_update_clear_cache_button
Enable/disable the Clear Cache button based on whether a cache exists.
benchmark/viewer.py:765
↓ 2 callersFunction_warm_streaming
Drive `clean_kv_cache → Phase 1 → N streaming forwards` `passes` times. Warmup inputs are sliced from the already-preprocessed ``images`` tensor,
demo.py:189
↓ 2 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
lingbot_map/heads/head_act.py:12
↓ 2 callersMethodadd_camera
Add camera visualization for a frame.
lingbot_map/vis/point_cloud_viewer.py:1120
↓ 2 callersFunctionadjust_intrinsics
Adjust camera intrinsics for a ResizeTransform. Applies: 1. Scale: fx *= scale_x, fy *= scale_y, cx *= scale_x, cy *= scale_y 2.
benchmark/benchmark/geometry/resize.py:157
↓ 2 callersMethodapply
Returns (vis_xyz, vis_rgb, extra_geoms).
demo_render/rgbd_render/overlay.py:142
↓ 2 callersFunctionapply_scene_alignment
Aligns the 3D scene based on the extrinsics of the first camera. Args: scene_3d: The 3D scene to be aligned extrinsics_matri
lingbot_map/vis/glb_export.py:311
↓ 2 callersFunctionapply_sky_segmentation
Apply sky segmentation to confidence scores. Args: conf: Confidence scores with shape (S, H, W) image_folder: Path to the fo
lingbot_map/vis/sky_segmentation.py:373
↓ 2 callersFunctionbindFilterControls
(container)
benchmark/benchmark/report/templates/app.js:477
↓ 2 callersFunctionbuild_camera_path
Build a CameraPath from CameraConfig segments. Args: cam_config: CameraConfig with fov, transition, segments scene: Scene with c2
demo_render/rgbd_render/camera.py:532
↓ 2 callersFunctionbuild_model
(args: argparse.Namespace, max_frame_num: int, device: str)
scripts/benchmark_gct_memory.py:144
↓ 2 callersFunctionbuild_overlays
Build overlay instances + serializable specs from config. Reads ``cfg.overlay`` and the rendered scene, returning ``(overlays, specs)`` suita
demo_render/rgbd_render/overlay.py:303
↓ 2 callersMethodclear_directory
Remove all directory contents unconditionally (force mode).
benchmark/benchmark/core/storage.py:126
↓ 2 callersFunctionclosed_form_inverse_se3_general
支持任意 batch 维度的 SE3 逆运算 se3: (..., 4, 4) 或 (..., 3, 4)
lingbot_map/utils/geometry.py:181
↓ 2 callersFunctioncollectMetricKeys
(normalized)
benchmark/benchmark/report/templates/app.js:610
↓ 2 callersFunctioncolorize_by_distance
Colorize points by distance error using a colormap. Maps nearest-neighbor distances to colors, capped at 3*tau. Ported from the official TAT
benchmark/benchmark/evaluation/points.py:342
↓ 2 callersFunctioncompile_model
(model)
scripts/benchmark_gct_memory.py:162
↓ 2 callersFunctioncompute_global_up
Scene world-up from median of camera -Y axes.
demo_render/rgbd_render/camera.py:102
↓ 2 callersFunctioncurrentArtifactMethods
()
benchmark/benchmark/report/templates/app.js:749
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
lingbot_map/heads/dpt_head.py:462
↓ 2 callersFunctiondepth_to_colormap
Convert a float32 depth map to a BGR pseudo-colour image (COLORMAP_TURBO). Invalid pixels (depth == 0) are rendered as black. Args:
preprocess/oxford.py:465
↓ 2 callersMethoddestroy
(self)
demo_render/rgbd_render/renderer.py:359
↓ 2 callersMethoddestroy
Release octree references.
demo_render/rgbd_render/scene.py:70
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=None )
lingbot_map/layers/block.py:104
↓ 2 callersFunctionencode_rgb_video
Encode original RGB frames (S,H,W,3 uint8) to MP4. If *width* or *height* is given, frames are resized before encoding. Providing only one di
demo_render/rgbd_render/video.py:40
↓ 2 callersFunctionensureTableFilter
(tableKey, metrics)
benchmark/benchmark/report/templates/app.js:556
↓ 2 callersMethodevaluate_single_frame
Evaluate a single frame. Args: pred_depth: Predicted depth map gt_depth: Ground truth depth map Returns:
benchmark/benchmark/evaluation/depth.py:148
↓ 2 callersMethodexecute_deferred_eviction
Run the eviction that was skipped while ``_defer_eviction`` was True.
lingbot_map/layers/flashinfer_cache.py:256
↓ 2 callersFunctionexport_glb
Export predictions to GLB.
demo_render/batch_demo.py:732
↓ 2 callersFunctionextract_intrinsics
(intrinsics)
lingbot_map/utils/geometry.py:359
↓ 2 callersFunctionfindDataset
(datasetId)
benchmark/benchmark/report/templates/app.js:753
↓ 2 callersFunctionfind_image_folder
Find a folder that contains images inside a scene path.
demo_render/batch_demo.py:379
↓ 2 callersMethodfov_intrinsics
Derive pinhole intrinsics (fx, fy, cx, cy) from vertical FOV.
demo_render/rgbd_render/camera.py:51
↓ 2 callersMethodfrom_yaml
Load config from YAML file.
demo_render/rgbd_render/config.py:161
↓ 2 callersMethodget_cache_stats
Read-only snapshot of cache occupancy for one block. Useful for debugging keyframe / sliding-window behavior. Returns:
lingbot_map/layers/flashinfer_cache.py:303
↓ 2 callersMethodget_color_fn
(self)
demo_render/rgbd_render/overlay.py:119
↓ 2 callersFunctionget_frame
(images: torch.Tensor, frame_idx: int, dtype: torch.dtype, device: str)
scripts/benchmark_gct_memory.py:192
↓ 2 callersMethodget_merged_evaluation_config
Get evaluation config merged for a specific dataset and method. Merge order (later overrides earlier): 1. base.yaml evaluation (g
benchmark/benchmark/core/config.py:230
↓ 2 callersMethodget_method_config
Get configuration for a specific method. Returns: Dictionary with: - 'method_class': Method module name (e.g., 'da3')
benchmark/benchmark/core/config.py:187
↓ 2 callersFunctionget_opengl_conversion_matrix
Returns the OpenGL conversion matrix (flips Y and Z axes).
lingbot_map/vis/glb_export.py:337
↓ 2 callersMethodget_scenes
(self)
benchmark/datasets/vbr.py:73
↓ 2 callersMethodget_selected_method_names
Get selected method names from the 'methods' list in base config. Returns an empty list if 'methods' is absent or empty. Raises KeyEr
benchmark/benchmark/core/config.py:121
↓ 2 callersFunctiongib
(num_bytes: int)
scripts/benchmark_gct_memory.py:255
↓ 2 callersMethodhas_frame_key
Check whether a frame-level data key is present.
benchmark/benchmark/core/loader.py:127
↓ 2 callersFunctioninitializeArtifactMethodSelector
()
benchmark/benchmark/report/templates/app.js:166
↓ 2 callersFunctionintegrate_camera_into_scene
Integrates a camera mesh into the 3D scene. Args: scene: The 3D scene to add the camera model transform: Transformation matr
lingbot_map/vis/glb_export.py:247
↓ 2 callersFunctionisStatMetric
(key)
benchmark/benchmark/report/templates/app.js:739
↓ 2 callersFunctionloadArtifactScene
(sceneId, requestedMethod = null, shouldUpdateUrl = true)
benchmark/benchmark/report/templates/app.js:139
↓ 2 callersFunctionloadDataset
(datasetId, requested = {})
benchmark/benchmark/report/templates/app.js:78
↓ 2 callersFunctionloadSceneBreakdown
(sceneId, shouldUpdateUrl = true)
benchmark/benchmark/report/templates/app.js:125
↓ 2 callersFunctionload_images
Load images from folder or video and preprocess into a tensor.
demo_render/demo.py:40
↓ 2 callersFunctionload_images_from_paths
Load and preprocess images from an explicit path list.
demo_render/batch_demo.py:362
↓ 2 callersMethodload_intrinsics
Load camera intrinsics. Returns: np.ndarray of shape (N, 4) with [fx, fy, cx, cy] per row. NaN rows where intrinsics
benchmark/benchmark/core/loader.py:338
↓ 2 callersMethodload_method
Load a method class by name. Searches for the class in the methods/ directory. Args: name: Method name (e.g., 'passthrou
benchmark/benchmark/core/registry.py:41
↓ 2 callersFunctionload_model
Load GCTStream model from checkpoint.
demo_render/demo.py:95
↓ 2 callersFunctionload_or_create_sky_masks
Load cached sky masks or generate them with the ONNX model. Args: image_folder: Folder containing input images. image_paths:
lingbot_map/vis/sky_segmentation.py:210
↓ 2 callersFunctionload_predictions_from_npz
Load predictions from NPZ file or directory of per-frame npz files. Per-frame NPZ directories are loaded in parallel using a thread pool — np
demo_render/batch_demo.py:596
↓ 2 callersFunctionmake_2tuple
(x)
lingbot_map/layers/patch_embed.py:16
↓ 2 callersFunctionmake_autocast
(dtype: torch.dtype)
scripts/benchmark_gct_memory.py:131
↓ 2 callersFunctionmake_follow_path
Generate follow-camera path as keyframes. Args: keyframe_interval: Generate a keyframe every N frames. 1 = every frame (lossl
demo_render/rgbd_render/camera.py:320
↓ 2 callersFunctionmake_q
()
lingbot_map/layers/flashinfer_cache.py:601
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
lingbot_map/heads/utils.py:36
← previousnext →201–300 of 1,058, ranked by callers