MCPcopy Create free account

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

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

↓ 4 callersMethodprepare_tokens_with_masks
(self, x, masks=None)
lingbot_map/layers/vision_transformer.py:228
↓ 4 callersMethodresolve_scene_safe
Sanitize scene name for use in file system (replaces '/' with '_'). Example: >>> BSSManager.resolve_scene_safe("chess/seq-01")
benchmark/benchmark/core/storage.py:180
↓ 4 callersMethodsave_eval
Save evaluation results to eval/{eval_type}.json.
benchmark/benchmark/core/storage.py:138
↓ 4 callersFunctionsetup_logging
Setup unified logging system with file and console handlers. Args: log_dir: Directory for log files name: Logger name (e.g., 'pre
benchmark/benchmark/utils/logging.py:11
↓ 4 callersMethodto_list
(self)
demo_render/interactive_viewer/camera.py:267
↓ 4 callersFunctionvoxel_downsample
Downsample a point cloud using a voxel grid filter. Args: points: (N, 3) or (N, 6) xyz or xyzrgb point cloud. voxel_size: Voxel s
benchmark/benchmark/geometry/registration.py:361
↓ 4 callersMethodw2c
W2C (4x4) in OpenCV convention. Rows of R: [right, down, forward].
demo_render/rgbd_render/camera.py:39
↓ 3 callersMethod__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
lingbot_map/layers/block.py:28
↓ 3 callersMethod__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = True, proj_bias
lingbot_map/layers/attention.py:37
↓ 3 callersMethod_add_artifact_copy
( self, plan: BuildPlan, seen_copies: set[str], src: Path, dest: str,
benchmark/benchmark/report/manifest_builder.py:278
↓ 3 callersFunction_average_dicts
Average all numeric values across a list of dicts. Add num_scenes.
benchmark/evaluate.py:94
↓ 3 callersMethod_calculate_auc_np
Calculate the Area Under the Curve (AUC) for the given error arrays.
benchmark/benchmark/evaluation/auc.py:172
↓ 3 callersMethod_forward_impl
Implementation of the forward pass through the DPT head. This method processes a specific chunk of frames from the sequence.
lingbot_map/heads/dpt_head.py:174
↓ 3 callersMethod_get_current_data
Get currently selected ViewerData.
benchmark/viewer.py:743
↓ 3 callersFunction_get_filtered_image_paths
List and filter image paths from a folder using args filters.
demo_render/batch_demo.py:1283
↓ 3 callersFunction_get_mask_filename
(image_paths: Optional[list[str]], index: int)
demo_render/rgbd_render/data/sky.py:100
↓ 3 callersMethod_get_methods_for_dataset_scene
Return methods for a dataset/scene (pre-built at startup, gt always first).
benchmark/viewer.py:739
↓ 3 callersMethod_get_or_create_material
(self, name, shader, **kwargs)
demo_render/rgbd_render/renderer.py:349
↓ 3 callersFunction_has_images
(folder)
demo_render/batch_demo.py:384
↓ 3 callersFunction_image_to_rgb_uint8
(image: np.ndarray)
lingbot_map/vis/sky_segmentation.py:161
↓ 3 callersFunction_import_from_file
(module_name: str, file_path: str)
demo_render/interactive_viewer/server.py:35
↓ 3 callersMethod_jsonable
(self, payload: Any)
benchmark/benchmark/report/manifest_builder.py:309
↓ 3 callersFunction_lerp_camera
Linearly interpolate between two cameras.
demo_render/rgbd_render/camera.py:132
↓ 3 callersMethod_load_yaml
(self, path: Path)
benchmark/benchmark/core/config.py:75
↓ 3 callersFunction_log_kv_stats
Dump a one-line summary of the aggregator's KV cache occupancy. Prints FlashInfer manager stats (if present) and SDPA dict stats otherwise, p
lingbot_map/models/gct_stream_window_v2.py:50
↓ 3 callersMethod_rebuild_playback_gui
Rebuild playback controls.
benchmark/viewer.py:1658
↓ 3 callersFunction_result_map_to_non_sky_conf
(result_map: np.ndarray)
lingbot_map/vis/sky_segmentation.py:92
↓ 3 callersFunction_save_results_json
Save batch results to JSON and return the number of failures.
demo_render/batch_demo.py:1273
↓ 3 callersFunction_set_nested
Set a nested attribute via dotted path, e.g. 'scene.voxel_size'.
demo_render/rgbd_render/config.py:361
↓ 3 callersFunction_smoothstep
(t: float)
demo_render/rgbd_render/camera.py:128
↓ 3 callersFunction_suppress_c_output
()
demo_render/rgbd_render/renderer.py:35
↓ 3 callersMethod_update_trajectory_visibility
Update trajectory visibility based on checkbox.
benchmark/viewer.py:1629
↓ 3 callersFunction_warm
Run `passes` full `clean → Phase-1 → N-stream` sequences. When ``kf_int > 1`` the inner stream loop alternates keyframe /
gct_profile.py:312
↓ 3 callersMethodapply
Apply resize transform to an image. Determines image dimensions automatically and computes the transform if not yet cached.
benchmark/benchmark/geometry/resize.py:263
↓ 3 callersMethodapply_nearest
Apply resize transform with nearest-neighbor interpolation. Suitable for depth maps, masks, and integer-valued arrays. Args:
benchmark/benchmark/geometry/resize.py:283
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
lingbot_map/heads/head_act.py:38
↓ 3 callersMethodbuild
Build octree + centroid hierarchy from raw unprojected points. Args: all_xyz: (N, 3) float32 CPU tensor, world coordinates.
demo_render/rgbd_render/geometry/octree.py:62
↓ 3 callersMethodbuild_visible_page_table
Return page IDs in strict order: scale → window → special. Placing special pages last means only the final page may be partially
lingbot_map/layers/flashinfer_cache.py:438
↓ 3 callersMethodclear_incomplete
Remove directory contents only if not yet marked complete.
benchmark/benchmark/core/storage.py:120
↓ 3 callersFunctioncollectMethods
(metricsByCategory)
benchmark/benchmark/report/templates/app.js:588
↓ 3 callersMethodcompute_last_page_len
Valid token count in the last page of the visible sequence. - No special pages → last page is a patch page.
lingbot_map/layers/flashinfer_cache.py:452
↓ 3 callersFunctionensureMethodFilter
(scope, methods)
benchmark/benchmark/report/templates/app.js:572
↓ 3 callersMethodgenerate
(self, dataset: Optional[str] = None, clean: bool = False)
benchmark/benchmark/report/generator.py:25
↓ 3 callersMethodget_completion_metadata
Return metadata dict to be merged into .complete.json. Returns: Dict with 'frame_keys', 'global_keys' lists (sorted), and optiona
benchmark/benchmark/core/saver.py:85
↓ 3 callersMethodget_dataset_config
Get configuration for a specific dataset. Returns: Dictionary with: - 'dataset_class': Dataset module name (e.g., 'se
benchmark/benchmark/core/config.py:148
↓ 3 callersMethodget_selected_dataset_names
Get selected dataset names from the 'datasets' list in base config. Returns an empty list if 'datasets' is absent or empty. Raises Ke
benchmark/benchmark/core/config.py:104
↓ 3 callersFunctionget_sky_artifact_dirs
(args, artifact_name)
demo_render/batch_demo.py:666
↓ 3 callersMethodget_transform
Compute (or return cached) transform for the given input dimensions. Args: orig_w: Original image width orig_h: Origi
benchmark/benchmark/geometry/resize.py:242
↓ 3 callersFunctionicp_registration
Perform ICP registration to align source points to target points. This function implements Iterative Closest Point (ICP) algorithm using Open3D.
benchmark/benchmark/geometry/registration.py:266
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
lingbot_map/heads/head_act.py:115
↓ 3 callersFunctioninvert_transform
Invert 4x4 SE3 transformation matrix using R^T (assumes orthogonal R). Uses the efficient SE3 inverse: [R^T | -R^T @ t] which is valid when R
benchmark/benchmark/geometry/transform.py:6
↓ 3 callersFunctionlist_image_paths
List image files in a folder.
demo_render/batch_demo.py:218
↓ 3 callersMethodload
(path: str, batch_size: int = 20)
demo_render/rgbd_render/geometry/voxel.py:119
↓ 3 callersMethodload_dataset
Load a dataset class by name. Searches for the class in the datasets/ directory. Args: name: Dataset name (e.g., 'seven_
benchmark/benchmark/core/registry.py:19
↓ 3 callersFunctionload_exr
Load image from EXR format with adaptive channel support. Args: input_file: Input EXR file path return_channels: How to return th
benchmark/benchmark/io/image.py:127
↓ 3 callersFunctionload_npz_data
Load NPZ produced by batch_demo.py. Accepts either: - A single ``.npz`` file path - A directory of per-frame ``frame_*.npz`` files (p
demo_render/rgbd_render/data/loader.py:135
↓ 3 callersMethodlod_select
Select visible points via octree LOD traversal. Traverses the octree from root to leaves. At each level, cells are classified as:
demo_render/rgbd_render/geometry/octree.py:126
↓ 3 callersMethodmark_complete
(self, metadata: dict = None)
benchmark/benchmark/core/storage.py:98
↓ 3 callersFunctionmetricLabel
(category, key)
benchmark/benchmark/report/templates/app.js:677
↓ 3 callersFunctionnormalizeMethodMetrics
(payload)
benchmark/benchmark/report/templates/app.js:596
↓ 3 callersFunctionparse_color
Parse color string → [r, g, b] float 0-1. Accepts: '#RGB', '#RRGGBB', english name, single letter. Returns None for empty string.
demo_render/rgbd_render/overlay.py:86
↓ 3 callersMethodparse_pc_data
Parse and filter point cloud data.
lingbot_map/vis/point_cloud_viewer.py:1052
↓ 3 callersFunctionprepare_for_visualization
Convert predictions to the unbatched NumPy format used by vis code.
demo_render/demo.py:186
↓ 3 callersFunctionpreset_styles
Return (TrailStyle, HeadStyle or None) for a named preset.
demo_render/rgbd_render/overlay.py:350
↓ 3 callersMethodrender
Render current view and return JPEG bytes.
demo_render/interactive_viewer/server.py:363
↓ 3 callersFunctionrenderDatasetOverview
()
benchmark/benchmark/report/templates/app.js:181
↓ 3 callersFunctionrenderSceneSummary
()
benchmark/benchmark/report/templates/app.js:273
↓ 3 callersFunctionsave_exr
Save image to EXR format with adaptive channel support. Args: image: Image array in one of the following formats: - HxW (sing
benchmark/benchmark/io/image.py:66
↓ 3 callersMethodsave_frame_data
Save frame data for all frames in a scene (with parallel I/O). Frame files are named using zero-padded 6-digit indices (e.g., 000000.png),
benchmark/benchmark/core/saver.py:136
↓ 3 callersMethodsave_global_data
Save global scene-level data. Args: global_data: Dictionary from load_global_data()
benchmark/benchmark/core/saver.py:305
↓ 3 callersFunctionsave_point_cloud_ply
Save point cloud to binary PLY format. Args: points: Numpy array with shape [..., 3/4/6/7] - [..., 3]: xyz coordinates only
benchmark/benchmark/io/pointcloud.py:12
↓ 3 callersMethodsave_visualization
Plot AUC and accuracy metrics vs number of frames and save to output_dir. Args: frame_counts: Array of frame counts a
benchmark/benchmark/evaluation/auc.py:257
↓ 3 callersMethodsegment_batch
Segment a batch of RGB images. Returns list of bool arrays (True = sky).
benchmark/sky_seg/seg_sky.py:83
↓ 3 callersFunctionsortCategories
(categories)
benchmark/benchmark/report/templates/app.js:718
↓ 3 callersFunctionumeyama_registration
Perform Umeyama registration to align source points to target points. This function implements the Umeyama algorithm for estimating a similarity
benchmark/benchmark/geometry/registration.py:65
↓ 3 callersFunctionunproject_depth_batch_gpu
Batch GPU unproject. Returns (pts_xyz, pts_rgb, valid_counts) on CUDA.
demo_render/rgbd_render/geometry/unproject.py:8
↓ 2 callersMethod__init__
Initializes the position generator with an empty cache.
lingbot_map/layers/rope.py:37
↓ 2 callersMethod__init__
( self, dim_in: int = 2048, trunk_depth: int = 4, pose_encoding_type: str = "a
lingbot_map/heads/camera_head.py:30
↓ 2 callersMethod_align_scale_only
Compute scale using median ratio.
benchmark/benchmark/evaluation/depth.py:204
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
lingbot_map/layers/rope.py:138
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
lingbot_map/heads/dpt_head.py:252
↓ 2 callersFunction_build_segments_from_flat_args
Build camera segments from legacy flat CLI args. Handles the old --birdeye_start/--birdeye_duration/follow params. If no birdeye args, return
demo_render/rgbd_render/config.py:369
↓ 2 callersMethod_collect_images_from
Collect sorted image files from a directory.
benchmark/datasets/general.py:255
↓ 2 callersFunction_compute_flow_magnitude
Compute mean optical flow magnitude induced by camera motion. Projects current frame pixels into the last keyframe camera using the current d
lingbot_map/models/gct_stream_window.py:29
↓ 2 callersFunction_compute_flow_magnitude
Compute mean optical flow magnitude induced by camera motion. Projects current frame pixels into the last keyframe camera using the current d
lingbot_map/models/gct_stream_window_v2.py:92
↓ 2 callersMethod_compute_scene_center_and_scale
Compute scene center and scale from camera positions and point clouds. Returns: Tuple of (center as 3D array, scale as float dist
lingbot_map/vis/point_cloud_viewer.py:227
↓ 2 callersFunction_deep_merge
Deep-merge two dicts; override values take precedence. Args: base: Base dictionary override: Override dictionary (values take
benchmark/benchmark/core/config.py:19
↓ 2 callersMethod_execute_deferred_eviction
Execute the eviction that was deferred during the last forward pass.
lingbot_map/models/gct_stream_window.py:409
↓ 2 callersMethod_execute_deferred_eviction
Execute the eviction that was deferred during the last forward pass.
lingbot_map/models/gct_stream_window_v2.py:472
↓ 2 callersFunction_find_pose_file
Return the first existing pose file among known candidates.
benchmark/datasets/droid_w.py:142
↓ 2 callersFunction_follow_camera_at
Compute follow-camera eye/center/up for one frame. Returns (eye, center, up, forward_h) — forward_h is carried to next frame as fallback when
demo_render/rgbd_render/camera.py:267
↓ 2 callersMethod_get_current_cache_dir
Return the cache directory for the current data selection, or None.
benchmark/viewer.py:753
↓ 2 callersMethod_get_frame_names
Return sorted list of frame base names (without extension) from custom_undistorted_cam/. Frames listed in DA3_FILTER_KEYS[scene] are excluded
benchmark/datasets/eth3d.py:103
↓ 2 callersMethod_get_gradient_color
Get rainbow gradient color based on progress (0.0 to 1.0). Color progression: Red -> Orange -> Yellow -> Green -> Cyan -> Blue -> Pur
benchmark/viewer.py:897
↓ 2 callersMethod_get_image_paths
Return sorted image paths, extracting video frames if needed.
benchmark/datasets/general.py:192
↓ 2 callersMethod_get_positions
Get 2D position embeddings for RoPE. Args: B: Batch size S: Sequence length H: Image height
lingbot_map/aggregator/base.py:416
↓ 2 callersMethod_get_scenes_for_dataset
Return scenes for a dataset (pre-built at startup).
benchmark/viewer.py:735
↓ 2 callersFunction_import_from_file
(module_name: str, file_path: str)
demo_render/interactive_viewer/npz_to_glb.py:22
↓ 2 callersMethod_incr_timestep
(self)
benchmark/viewer.py:1642
↓ 2 callersMethod_insert_tensors
(self, centers, colors, morton, frame_idx)
demo_render/rgbd_render/geometry/voxel.py:45
← previousnext →101–200 of 1,058, ranked by callers