MCPcopy Create free account

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

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

↓ 1 callersMethodload
Load NPZ data.
demo_render/rgbd_render/pipeline/builder.py:55
↓ 1 callersFunctionloadMethodDetail
(path)
benchmark/benchmark/report/templates/app.js:305
↓ 1 callersFunctionload_T_cam0_lidar
4×4 T_cam0_lidar: lidar frame → cam0 frame.
preprocess/oxford.py:165
↓ 1 callersFunctionload_cam0_intrinsics
Return K (3×3), dist (4,), W, H from cam0.yaml.
preprocess/oxford.py:152
↓ 1 callersMethodload_confidence_list
Load all confidence maps in frame index order. Returns: List of HxW confidence maps (float32), resized if resize_context is set.
benchmark/benchmark/core/loader.py:262
↓ 1 callersFunctionload_config
Convenience: load from --config YAML if given, then merge CLI args.
demo_render/rgbd_render/config.py:417
↓ 1 callersMethodload_eval
Load evaluation results from eval/{eval_type}.json. Returns None if not found.
benchmark/benchmark/core/storage.py:145
↓ 1 callersMethodload_global_data
KITTI Odometry does not provide a GT global point cloud.
benchmark/datasets/kitti.py:153
↓ 1 callersMethodload_global_points
Load global point cloud from points.ply. Returns: Nx3 or Nx6 array of global points, or None if not available
benchmark/benchmark/core/loader.py:381
↓ 1 callersFunctionload_images
Load images from folder or video and preprocess into a tensor. Returns: (images, paths, resolved_image_folder): preprocessed tensor, file
demo.py:56
↓ 1 callersFunctionload_images_from_video
Load and preprocess frames from video, with optional frame caching. If ``save_frames_dir`` is set: - First check if frames are already saved
demo_render/batch_demo.py:254
↓ 1 callersFunctionload_model
Build GCTStream with random weights (no checkpoint). Eval mode on device.
gct_profile.py:25
↓ 1 callersFunctionload_model
Load GCTStream model from checkpoint.
demo.py:131
↓ 1 callersFunctionload_or_create_sky_masks
Load cached sky masks or generate them with the ONNX model. Args: batch_size: Number of images to process per ONNX batch inference c
demo_render/rgbd_render/data/sky.py:261
↓ 1 callersFunctionload_point_cloud_ply
Load point cloud from binary PLY file (Open3D compatible). Args: input_file: Input PLY file path Returns: Numpy array with s
benchmark/benchmark/io/pointcloud.py:68
↓ 1 callersMethodload_points_list
Load all point cloud maps in frame index order. Returns: List of HxWx3 or HxWx6 point cloud maps (float32), or None if not availa
benchmark/benchmark/core/loader.py:235
↓ 1 callersFunctionload_rgb
Load RGB image. Args: image_path: Path to image file Returns: HxWx3 RGB image array (uint8, 0-255)
benchmark/benchmark/io/image.py:9
↓ 1 callersMethodload_rgb_thumbnails
Load RGB thumbnails from the npz cache.
benchmark/viewer.py:282
↓ 1 callersFunctionload_scene
Load NPZ data and build point clouds.
demo_render/interactive_viewer/server.py:434
↓ 1 callersMethodload_sky_masks
Load per-frame binary sky masks from cache.
benchmark/viewer.py:314
↓ 1 callersFunctionload_tls_cloud
Load full-resolution TLS PCD. Returns: pts : (N, 3) float32 — XYZ coordinates colors : (N, 3) float32 in [0, 1] — RGB, or None
preprocess/oxford.py:267
↓ 1 callersMethodload_traj_transform
Load trajectory alignment transform from traj_transform.txt. Returns: 4x4 Sim(3) transformation matrix, or None if file does not
benchmark/benchmark/core/loader.py:361
↓ 1 callersFunctionload_tum
Parse a TUM-format trajectory file. Returns: timestamps : (N,) float64 lines : list[str] — original text lines (no trailing
preprocess/oxford.py:226
↓ 1 callersFunctionlookat
W2C (4x4) in OpenCV convention. Camera +Z = forward (toward scene).
demo_render/rgbd_render/camera.py:82
↓ 1 callersFunctionmain
()
gct_profile.py:224
↓ 1 callersFunctionmain
()
demo.py:342
↓ 1 callersFunctionmain
()
benchmark/run.py:119
↓ 1 callersFunctionmain
()
benchmark/viewer.py:1950
↓ 1 callersFunctionmain
()
benchmark/report.py:31
↓ 1 callersFunctionmain
()
benchmark/prepare.py:130
↓ 1 callersFunctionmain
()
benchmark/evaluate.py:105
↓ 1 callersFunctionmain
()
benchmark/run_worker.py:84
↓ 1 callersFunctionmain
()
benchmark/sky_seg/seg_sky.py:145
↓ 1 callersFunctionmain
()
scripts/benchmark_gct_memory.py:281
↓ 1 callersFunctionmain
()
preprocess/oxford.py:726
↓ 1 callersFunctionmain
()
demo_render/batch_demo.py:1468
↓ 1 callersFunctionmain
()
demo_render/rgbd_scan_render.py:114
↓ 1 callersFunctionmain
()
demo_render/demo.py:221
↓ 1 callersFunctionmain
()
demo_render/interactive_viewer/npz_to_glb.py:110
↓ 1 callersFunctionmain
()
demo_render/interactive_viewer/server.py:791
↓ 1 callersFunctionmake_birdeye_path
Generate a static bird's-eye CameraPath (single keyframe).
demo_render/rgbd_render/camera.py:438
↓ 1 callersFunctionmake_depth_overlay
Blend depth colormap with the rectified image. Valid depth pixels show the TURBO colormap; invalid pixels show the original image.
preprocess/oxford.py:489
↓ 1 callersFunctionmake_kv
()
lingbot_map/layers/flashinfer_cache.py:596
↓ 1 callersFunctionmake_pivot_path
Pivot camera: fixed eye, lookat follows scan trajectory direction.
demo_render/rgbd_render/camera.py:496
↓ 1 callersFunctionmake_source_images
( *, frame_count: int, source_count: int, height: int, width: int, materialize_inputs:
scripts/benchmark_gct_memory.py:176
↓ 1 callersFunctionmake_static_path
Static camera: fixed eye and lookat for the entire segment.
demo_render/rgbd_render/camera.py:478
↓ 1 callersMethodmerge_cli
Merge argparse namespace into config. Returns new config (no mutation). Supports both flat CLI args (--voxel_size) and dotted (--scene.voxel_
demo_render/rgbd_render/config.py:177
↓ 1 callersFunctionmetricDirection
(category, metric)
benchmark/benchmark/report/templates/app.js:466
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
lingbot_map/layers/vision_transformer.py:28
↓ 1 callersFunctionnormalizeMetricLabel
(label)
benchmark/benchmark/report/templates/app.js:685
↓ 1 callersMethodon_data_update
Reload scene data when Load is clicked.
benchmark/viewer.py:838
↓ 1 callersMethodorbit
Rotate around look_at point. dx = horizontal, dy = vertical.
demo_render/interactive_viewer/camera.py:68
↓ 1 callersMethodpan
Pan camera in screen plane.
demo_render/interactive_viewer/camera.py:95
↓ 1 callersFunctionparse_args
()
benchmark/report.py:21
↓ 1 callersFunctionparse_args
()
scripts/benchmark_gct_memory.py:45
↓ 1 callersFunctionparse_args
()
demo_render/rgbd_scan_render.py:35
↓ 1 callersFunctionplot_pr_curve
Plot a precision-recall CDF curve and save to file. Ported from the official TAT toolbox plot_graph(). Red curve = precision (pred→GT distanc
benchmark/benchmark/evaluation/points.py:374
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
lingbot_map/heads/utils.py:11
↓ 1 callersFunctionpostprocess
Convert pose encoding to extrinsics (c2w) and move to CPU.
demo.py:278
↓ 1 callersFunctionpredictions_to_glb
Converts GCT predictions to a 3D scene represented as a GLB file. Args: predictions: Dictionary containing model predictions with ke
lingbot_map/vis/glb_export.py:35
↓ 1 callersFunctionprepare_for_visualization
Convert predictions to the unbatched NumPy format used by vis code.
demo.py:307
↓ 1 callersFunctionprepare_scene
Prepare a single scene. Args: gt_artifact: BSSArtifact for the GT directory scene: Scene name (e.g. 'chess/seq-01')
benchmark/prepare.py:22
↓ 1 callersFunctionprettifyKey
(key)
benchmark/benchmark/report/templates/app.js:812
↓ 1 callersFunctionprint_comparison
Side-by-side FPS / ms table across all variants.
gct_profile.py:200
↓ 1 callersFunctionprocess
Process rgb_dir: read images, predict sky masks, write PNGs to sibling sky_mask/.
benchmark/sky_seg/seg_sky.py:115
↓ 1 callersFunctionprocess_scene
Process one sequence. For every matched frame: 1. Decode & rectify the cam0 image → save images/{:06d}.png 2. Save the matched C
preprocess/oxford.py:505
↓ 1 callersFunctionprocess_scene
Process one scene: inference, optional NPZ / GLB, video render. Args: video_images: Pre-loaded video frames tensor (if from --video_path)
demo_render/batch_demo.py:911
↓ 1 callersFunctionprofile_streaming
Run streaming inference. Return (per_frame_ms, scale_frames, phase1_ms). Reuses a single CUDA event pair across frames and syncs after every
gct_profile.py:64
↓ 1 callersFunctionproj
pinhole camera projection
lingbot_map/utils/geometry.py:548
↓ 1 callersFunctionprojective_transform
map points from ii->jj
lingbot_map/utils/geometry.py:362
↓ 1 callersMethodread_data
Read and organize point cloud data.
lingbot_map/vis/point_cloud_viewer.py:1023
↓ 1 callersFunctionread_intrinsics
Read camera intrinsics file in BSS v2 format. Format (one line per frame): frame_idx fx fy cx cy width height Args: intr_fil
benchmark/benchmark/io/intrinsics.py:8
↓ 1 callersFunctionread_trajectory
Read trajectory file in BSS v2 format. BSS Trajectory Format v2 (one line per frame): frame_idx r00 r01 r02 tx r10 r11 r12 ty r20 r21 r22
benchmark/benchmark/io/trajectory.py:8
↓ 1 callersMethodrectify
(self, img: np.ndarray)
preprocess/oxford.py:199
↓ 1 callersMethodremove_last
(self)
demo_render/interactive_viewer/camera.py:207
↓ 1 callersFunctionrenderArtifactViewer
(detail)
benchmark/benchmark/report/templates/app.js:618
↓ 1 callersFunctionrenderDatasetActions
()
benchmark/benchmark/report/templates/app.js:197
↓ 1 callersFunctionrenderMetricFilter
(tableKey, category, metrics, filter)
benchmark/benchmark/report/templates/app.js:375
↓ 1 callersFunctionrenderMetricsTable
(category, payload, options = {})
benchmark/benchmark/report/templates/app.js:333
↓ 1 callersFunctionrenderTableBody
(category, normalized, methods, metrics)
benchmark/benchmark/report/templates/app.js:402
↓ 1 callersMethodrender_frame
Render one frame: LOD select -> overlays -> render -> return (H,W,3) uint8.
demo_render/rgbd_render/renderer.py:139
↓ 1 callersMethodrender_frame_direct
Render pre-culled points + extra geometry. No Scene needed. Used by D-lite parallel workers that receive visible points via SharedMem
demo_render/rgbd_render/renderer.py:190
↓ 1 callersFunctionrender_npz_file
Render one NPZ file to video / GLB.
demo_render/batch_demo.py:1008
↓ 1 callersMethodrender_screenshot
Render high-res screenshot and save as PNG.
demo_render/interactive_viewer/server.py:400
↓ 1 callersFunctionresolve_dtype
(device: str, dtype: str)
scripts/benchmark_gct_memory.py:120
↓ 1 callersFunctionrotation_angle
Calculate rotation angle error between ground truth and predicted rotations. Args: rot_gt: Ground truth rotation matrices ro
lingbot_map/utils/pose_enc.py:179
↓ 1 callersFunctionrun_inference
Run model inference and return visualization-ready numpy predictions.
demo_render/batch_demo.py:444
↓ 1 callersFunctionrun_parallel
D-lite parallel rendering. Producer (main): GPU cull → gather visible points → SharedMemory (exact size) Consumers (workers): SharedMemory →
demo_render/rgbd_render/pipeline/parallel.py:151
↓ 1 callersFunctionrun_scene
Run method on a single scene in the current process. Returns None on success, Exception on failure.
benchmark/run.py:31
↓ 1 callersFunctionrun_scene
Run method on a single scene. Returns None on success, Exception on failure.
benchmark/run_worker.py:28
↓ 1 callersFunctionrun_skyseg
Runs sky segmentation inference using ONNX model. Args: onnx_session: ONNX runtime session input_size: Target size for model
lingbot_map/vis/glb_export.py:449
↓ 1 callersFunctionrun_skyseg_batch
Run ONNX sky segmentation on a batch of BGR images. Returns list of uint8 score maps.
demo_render/rgbd_render/data/sky.py:174
↓ 1 callersFunctionrun_via_subprocess
Dispatch a (method, dataset[, scene]) job to run_worker.py via conda run. Returns the subprocess exit code.
benchmark/run.py:91
↓ 1 callersFunctionrun_viser
Run viser server for benchmark visualization. Args: workspace: Path to workspace directory. port: Port number for viser server.
benchmark/viewer.py:1894
↓ 1 callersFunctionsafeFileName
(value)
benchmark/benchmark/report/templates/app.js:269
↓ 1 callersMethodsave
(self, path: str)
demo_render/rgbd_render/geometry/voxel.py:112
↓ 1 callersFunctionsave_mask
Save binary mask image. Args: mask: HxW boolean mask array (True for valid) output_path: Output file path
benchmark/benchmark/io/image.py:50
↓ 1 callersMethodsave_pointcloud_visualization
Save threshold-colored PLY files and PR curves to vis_dir. Files are named with tau in the filename: vis_dir / f'gt_points_{tau}.
benchmark/benchmark/evaluation/points.py:478
↓ 1 callersFunctionsave_predictions_npz
Save predictions as per-frame .npz files in a directory (parallel I/O). Creates a directory at ``output_path`` (without extension) and writes one
demo_render/batch_demo.py:529
↓ 1 callersFunctionsave_rgb
Save RGB image. Args: image: HxWx3 RGB image array (uint8, 0-255) output_path: Output file path
benchmark/benchmark/io/image.py:22
← previousnext →601–700 of 1,058, ranked by callers