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
Function
_w2c_to_c2w
Convert W2C (rotation + translation) to 4x4 C2W matrix.
benchmark/datasets/eth3d.py:85
↓ 1 callers
Method
_warp_predictions
Apply a similarity transform (s, R, t) to one window's predictions.
lingbot_map/models/gct_stream_window.py:839
↓ 1 callers
Method
_warp_predictions
Apply a similarity transform (s, R, t) to one window's predictions.
lingbot_map/models/gct_stream_window_v2.py:902
↓ 1 callers
Function
_worker_fn_inner
(job_queue, done_counter, init_args)
demo_render/rgbd_render/pipeline/parallel.py:55
↓ 1 callers
Method
_write_patch_page
Allocate one free patch page and write patches_per_frame patch tokens. Direct tensor assignment to kv_caches[block_idx][page_id,
lingbot_map/layers/flashinfer_cache.py:474
↓ 1 callers
Method
_write_plan
(self, plan: BuildPlan)
benchmark/benchmark/report/generator.py:50
↓ 1 callers
Method
_write_readme
(self)
benchmark/benchmark/report/generator.py:90
↓ 1 callers
Method
_write_special_tokens
Append num_special_tokens (6) special tokens to the special stream. Direct tensor slice assignment to kv_caches[block_idx][tail_p
lingbot_map/layers/flashinfer_cache.py:514
↓ 1 callers
Function
activate_head
Process network output to extract 3D points and confidence values. Args: out: Network output tensor (B, C, H, W) activation:
lingbot_map/heads/head_act.py:61
↓ 1 callers
Function
actp
action on point cloud
lingbot_map/utils/geometry.py:586
↓ 1 callers
Method
add_pc
Add point cloud for a frame.
lingbot_map/vis/point_cloud_viewer.py:1098
↓ 1 callers
Function
aggregate_eval
Read Layer 1 json files from disk, generate Layer 2 and Layer 3. Layer 2: per-scene cross-method comparison (read-modify-write) Layer 3: data
benchmark/evaluate.py:25
↓ 1 callers
Method
aggregate_macro
Average per-scene AUC/Racc/Tacc values.
benchmark/benchmark/evaluation/auc.py:328
↓ 1 callers
Method
aggregate_micro
Pool rError/tError from all scenes, compute AUC once.
benchmark/benchmark/evaluation/auc.py:315
↓ 1 callers
Method
animate
Setup and run animation controls.
lingbot_map/vis/point_cloud_viewer.py:1167
↓ 1 callers
Function
apply_image_filters
Apply range / stride / first_k / last_k filters to image paths.
demo_render/batch_demo.py:230
↓ 1 callers
Method
apply_sampling
Apply sampling strategy to frame list. Args: frames: Original frame ID list (integers) sampling_config: Sampling conf
benchmark/benchmark/dataset/base.py:149
↓ 1 callers
Function
apply_visibility_filter
Visibility filter (CMRNet / iralab visibility_kernel2). Removes depth pixels that are occluded by a foreground surface. Dispatches to th
preprocess/oxford.py:439
↓ 1 callers
Function
attach_callback
(frustum: viser.CameraFrustumHandle, frame: viser.FrameHandle)
lingbot_map/vis/viser_wrapper.py:156
↓ 1 callers
Method
attn_pre
Phase 2 streaming only: norm1 + prepare_qkv fused as one compilable unit. Extracted as a named method so torch.compile can capture norm1 + qk
lingbot_map/layers/block.py:217
↓ 1 callers
Function
bindControls
()
benchmark/benchmark/report/templates/app.js:54
↓ 1 callers
Function
bindDatasetActions
(container)
benchmark/benchmark/report/templates/app.js:205
↓ 1 callers
Method
build
(self, dataset_filter: Optional[str] = None)
benchmark/benchmark/report/manifest_builder.py:47
↓ 1 callers
Method
build
Produce the final immutable Scene.
demo_render/rgbd_render/pipeline/builder.py:170
↓ 1 callers
Function
buildDatasetCsv
()
benchmark/benchmark/report/templates/app.js:222
↓ 1 callers
Function
build_T_base_lidar
Fixed hardware calibration (sensor.yaml): t=[0,0,0.124 m], q_xyzw=[0,0,1,0] → 180° Z rotation + 124 mm Z lift. Lidar frame → base fr
preprocess/oxford.py:172
↓ 1 callers
Method
build_batch_size
Calculate how many frames to unproject in one GPU batch. Args: H, W: frame dimensions downsample: spatial downsample
demo_render/rgbd_render/pipeline/gpu_mem.py:27
↓ 1 callers
Function
build_pair_index
Build indices for all possible pairs of frames. Args: N: Number of frames B: Batch size Returns: i1, i2: Indice
lingbot_map/utils/pose_enc.py:163
↓ 1 callers
Function
build_parser
()
demo_render/batch_demo.py:1044
↓ 1 callers
Function
categoryHint
(category)
benchmark/benchmark/report/templates/app.js:704
↓ 1 callers
Function
chamfer_distance
Compute Chamfer distance: average of accuracy and completeness. The Chamfer distance is a symmetric metric that combines both directions of n
benchmark/benchmark/evaluation/points.py:105
↓ 1 callers
Method
cleanup
Clean up resources when client disconnects.
benchmark/viewer.py:1879
↓ 1 callers
Method
cleanup_old_reports
(self)
benchmark/benchmark/report/generator.py:45
↓ 1 callers
Method
clear_eval
Delete entire eval/ directory.
benchmark/benchmark/core/storage.py:153
↓ 1 callers
Function
collect_images
Return sorted list of image files in rgb_dir.
benchmark/sky_seg/seg_sky.py:107
↓ 1 callers
Function
colorize_depth
(H,W) float → (H,W,3) uint8 BGR colorized depth.
demo_render/rgbd_render/video.py:97
↓ 1 callers
Function
colorize_np
Turn a grayscale image into a color image. Args: x: Input grayscale image [H, W] cmap_name: Colormap name mask: Opti
lingbot_map/vis/utils.py:101
↓ 1 callers
Function
compare_translation_by_angle
Normalize the translation vectors and compute the angle between them. Args: t_gt: Ground truth translation vectors t: Predic
lingbot_map/utils/pose_enc.py:231
↓ 1 callers
Function
compile_model
Apply torch.compile(mode="reduce-overhead") to compute-heavy, fixed-shape modules and drop point_head. Matches the optimizations from the ori
gct_profile.py:40
↓ 1 callers
Function
compile_model
Compile hot, fixed-shape modules with mode="reduce-overhead". Mirrors the targets in gct_profile.py:compile_model. Unlike the profile script,
demo.py:170
↓ 1 callers
Function
compile_model
Apply torch.compile(mode='reduce-overhead') to model sub-modules. Follows the three-phase strategy from the reference profiling script: 1.
demo_render/batch_demo.py:42
↓ 1 callers
Function
computeMetricRanks
(category, normalized, methods, metrics)
benchmark/benchmark/report/templates/app.js:434
↓ 1 callers
Method
compute_auc_vs_frames
Compute how AUC changes as more frames are added. Args: gt_loader: BSSLoader for ground truth directory pred_loader
benchmark/benchmark/evaluation/auc.py:183
↓ 1 callers
Function
compute_camera_faces_multi
Computes faces for a camera mesh with multiple shells (for thicker frustums). Connects each consecutive pair of vertex shells to form the frustum
lingbot_map/vis/glb_export.py:396
↓ 1 callers
Function
compute_local_scale
Diagonal of the first-N-frames trajectory bounding box.
demo_render/rgbd_render/camera.py:117
↓ 1 callers
Method
compute_ptrs
Frame-boundary pointer array (same semantics as VoxelGridCUDA).
demo_render/rgbd_render/geometry/octree.py:114
↓ 1 callers
Function
compute_scene_scale
Diagonal of the camera trajectory bounding box.
demo_render/rgbd_render/camera.py:111
↓ 1 callers
Function
create_app
(state: ViewerState, meta: dict)
demo_render/interactive_viewer/server.py:570
↓ 1 callers
Function
create_uv_grid
Create a normalized UV grid of shape (width, height, 2). The grid spans horizontally and vertically according to an aspect ratio, ensuri
lingbot_map/heads/utils.py:66
↓ 1 callers
Function
csvCellValue
(metrics, metric)
benchmark/benchmark/report/templates/app.js:258
↓ 1 callers
Function
depth_to_cam_coords_points
Convert a depth map to camera coordinates. Args: depth_map (np.ndarray): Depth map of shape (H, W). intrinsic (np.ndarray):
lingbot_map/utils/geometry.py:97
↓ 1 callers
Function
depth_to_world_coords_points
Convert a depth map to world coordinates. Args: depth_map (np.ndarray): Depth map of shape (H, W). intrinsic (np.ndarray): C
lingbot_map/utils/geometry.py:57
↓ 1 callers
Function
download_file_from_url
Downloads a file from a URL, handling redirects.
lingbot_map/vis/glb_export.py:487
↓ 1 callers
Function
download_skyseg_model
Download sky segmentation model from HuggingFace. Args: output_path: Path to save the model Returns: Path to the downlo
lingbot_map/vis/sky_segmentation.py:430
↓ 1 callers
Function
drop_path
(x, drop_prob: float = 0.0, training: bool = False)
lingbot_map/layers/drop_path.py:14
↓ 1 callers
Function
encode_combined_video
Side-by-side video: rendered point cloud (left) + RGB (right). Both streams are resized to the same height before concatenation.
demo_render/rgbd_render/video.py:65
↓ 1 callers
Function
encode_depth_video
Colorize depth frames (S,H,W) and encode to MP4.
demo_render/rgbd_render/video.py:107
↓ 1 callers
Function
encode_video
Encode PNGs to MP4. Tries FFmpeg first, falls back to OpenCV.
demo_render/rgbd_render/video.py:14
↓ 1 callers
Method
ensure_dataset_class_name
Get expected dataset class name. Args: name: Dataset module name. Returns: Expected class name (PascalCase +
benchmark/benchmark/core/registry.py:118
↓ 1 callers
Method
ensure_method_class_name
Get expected method class name. Args: name: Method module name. Returns: Expected class name (PascalCase + '
benchmark/benchmark/core/registry.py:130
↓ 1 callers
Function
ensure_visibility_extension
Load the optional CUDA visibility extension on first use.
preprocess/oxford.py:63
↓ 1 callers
Method
evaluate
Run all enabled evaluators, save results to individual eval/*.json files.
benchmark/benchmark/core/evaluator.py:98
↓ 1 callers
Method
evaluate_pointcloud
Optional method for custom point cloud evaluation. Args: gt_loader: BSSLoader for the ground truth directory (no resize_context
benchmark/benchmark/dataset/base.py:122
↓ 1 callers
Function
extract_scene_keyword
Strip leading date (YYYY-MM-DD-) and trailing sequence number (-N or -NN). '2024-03-12-keble-college-02' → 'keble-college'
preprocess/oxford.py:125
↓ 1 callers
Function
f1_score
Compute F1-score at multiple distance thresholds. F1-score is the harmonic mean of precision and recall, providing a balanced measure of reco
benchmark/benchmark/evaluation/points.py:207
↓ 1 callers
Method
ffn_residual
FFN residual branch: norm2 -> mlp -> ls2, WITH residual add fused in. Includes the residual add (x + ...) so torch.compile captures the entir
lingbot_map/layers/block.py:304
↓ 1 callers
Function
find_nearest
Nearest-neighbour search. Returns (index, diff) if diff <= max_gap, else (None, diff).
preprocess/oxford.py:254
↓ 1 callers
Function
find_scenes
Find scenes under an input folder.
demo_render/batch_demo.py:410
↓ 1 callers
Function
formatDate
(value)
benchmark/benchmark/report/templates/app.js:806
↓ 1 callers
Function
formatValue
(value)
benchmark/benchmark/report/templates/app.js:795
↓ 1 callers
Method
forward_features
(self, x, masks=None)
lingbot_map/layers/vision_transformer.py:266
↓ 1 callers
Method
forward_features_list
(self, x_list, masks_list)
lingbot_map/layers/vision_transformer.py:242
↓ 1 callers
Method
fov_intrinsics
(self, w: int, h: int)
demo_render/interactive_viewer/camera.py:135
↓ 1 callers
Method
from_dict
(cls, d: dict)
demo_render/rgbd_render/camera.py:67
↓ 1 callers
Method
from_dict
(cls, d: dict)
demo_render/interactive_viewer/camera.py:181
↓ 1 callers
Function
frustum_cull_and_project
Frustum cull the TLS cloud and build a depth map for one frame. GPU path (pts_gpu is not None and _HAS_VIS_EXT): Calls the compiled
preprocess/oxford.py:285
↓ 1 callers
Function
get_1d_rotary_pos_embed
计算1D旋转位置编码(RoPE)的频率张量。 RoPE的核心思想:使用旋转矩阵来编码位置信息,使得相对位置关系保持不变。 公式:对于位置m和维度i,频率为 θ_i = θ^(-2i/d),其中θ是基础频率(默认10000) Args:
lingbot_map/layers/rope.py:202
↓ 1 callers
Method
get_dataset_eval_dir
Return workspace/{dataset}/eval/
benchmark/benchmark/core/storage.py:266
↓ 1 callers
Method
get_frame_list
(self, scene: str)
benchmark/datasets/vbr.py:85
↓ 1 callers
Function
get_host_ip
Get the host IP address for the viser server.
benchmark/viewer.py:402
↓ 1 callers
Function
get_model
Return Path to ONNX model. Raises FileNotFoundError if not present.
benchmark/sky_seg/seg_sky.py:40
↓ 1 callers
Method
get_points
Return (xyz, rgb) for the requested view, filtered by confidence.
demo_render/interactive_viewer/server.py:148
↓ 1 callers
Method
get_processing_dimensions
Get processing dimensions (what methods see after resize). Returns: (width, height) tuple
benchmark/benchmark/core/loader.py:111
↓ 1 callers
Method
get_scene_eval_dir
Return workspace/{dataset}/{scene_safe}/eval/
benchmark/benchmark/core/storage.py:253
↓ 1 callers
Function
get_tls_pcd_path
Return the TLS merged-cloud PCD path for *scene_kw*, or None if absent.
preprocess/oxford.py:135
↓ 1 callers
Function
get_vertical_colorbar
Create a vertical colorbar image. Args: h: Height in pixels vmin: Minimum value vmax: Maximum value cmap_nam
lingbot_map/vis/utils.py:39
↓ 1 callers
Method
get_w2c
(self)
demo_render/interactive_viewer/camera.py:132
↓ 1 callers
Method
has_sky_masks
Return True if a sky mask cache file already exists.
benchmark/viewer.py:298
↓ 1 callers
Function
img_from_cam
Applies intrinsic parameters and optional distortion to the given 3D points. Args: cam_intrinsics (torch.Tensor): Intrinsic camera p
lingbot_map/utils/geometry.py:280
↓ 1 callers
Method
init_renderer
(self, width: int, height: int)
demo_render/interactive_viewer/server.py:224
↓ 1 callers
Method
init_weights
(self)
lingbot_map/layers/vision_transformer.py:180
↓ 1 callers
Function
initializeDatasetSelector
()
benchmark/benchmark/report/templates/app.js:71
↓ 1 callers
Function
initializeSceneSelectors
()
benchmark/benchmark/report/templates/app.js:157
↓ 1 callers
Method
interpolate
Interpolate keyframes with cubic spline. Returns list of (camera, frame_idx).
demo_render/interactive_viewer/camera.py:214
↓ 1 callers
Method
interpolate_pos_encoding
(self, x, w, h)
lingbot_map/layers/vision_transformer.py:187
↓ 1 callers
Function
iproj
pinhole camera inverse projection
lingbot_map/utils/geometry.py:524
↓ 1 callers
Function
isDisplayValue
(value)
benchmark/benchmark/report/templates/app.js:673
↓ 1 callers
Method
is_valid
Check if cache exists and parameters match. Args: num_frames: Number of frames in the scene image_width: Width o
benchmark/viewer.py:116
↓ 1 callers
Method
is_valid_rgb
Check if the RGB thumbnail cache exists and matches current parameters.
benchmark/viewer.py:250
↓ 1 callers
Method
list_methods
List all methods that have output directories for a scene.
benchmark/benchmark/core/storage.py:213
← previous
next →
501–600 of 1,058, ranked by callers