MCPcopy Create free account

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

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

Methodevaluate_pointcloud
Evaluate point cloud reconstruction for 7Scenes. Alignment uses align_gt_loader (gt resized to pred resolution) paired with pred_load
benchmark/datasets/seven_scenes.py:221
Methodevaluate_pointcloud
Evaluate 3D reconstruction against Neural RGB-D GT depth. Pipeline: 1. GT resized to pred resolution for pixel-level Umeyama coarse
benchmark/datasets/neural_rgbd.py:214
Methodevaluate_pointcloud
Evaluate 3D reconstruction against ETH3D GT depth (7scenes-style pipeline). Pipeline: 1. GT resized to pred resolution -> pixel-lev
benchmark/datasets/eth3d.py:204
Functionextract_frames_from_video
Extract video frames into a folder and return saved frame paths.
demo_render/batch_demo.py:172
Functionextri_intri_to_pose_encoding
Convert camera extrinsics and intrinsics to a compact pose encoding. This function transforms camera parameters into a unified pose encoding form
lingbot_map/utils/pose_enc.py:21
Methodf
(*args, **kwargs)
lingbot_map/layers/vision_transformer.py:137
Methodffn_residual_func
(x: Tensor)
lingbot_map/layers/block.py:84
Methodffn_residual_func
(x: Tensor)
lingbot_map/layers/block.py:426
Methodffn_residual_func
(x)
lingbot_map/layers/block.py:523
Methodfinal_size
Output (W, H) after transform, or None if not yet computed.
benchmark/benchmark/geometry/resize.py:236
Methodfinalize
(self)
demo_render/rgbd_render/geometry/voxel.py:85
Methodflops
(self)
lingbot_map/layers/patch_embed.py:80
Methodforward
Forward pass. Args: images: Input images [B, S, 3, H, W] in range [0, 1] selected_idx: Which block indices t
lingbot_map/aggregator/base.py:539
Methodforward
Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_size, n_heads, n_tokens, dim).
lingbot_map/layers/rope.py:159
Methodforward
前向传播:为3D输入(视频帧+patch)生成旋转位置编码 参数: - ppf (int): 帧数(patches per frame),当f_end为None时使用 - pph (int): 每帧的patch高度数
lingbot_map/layers/rope.py:336
Methodforward
(self, x)
lingbot_map/layers/drop_path.py:33
Methodforward
(self, x: Tensor, pos=None, num_patches=None, num_special=None, num_frames=None, enable_3d_rop
lingbot_map/layers/block.py:77
Methodforward
( self, x: Tensor, pos=None, num_patches=None, num_special=None,
lingbot_map/layers/block.py:229
Methodforward
(self, x: Tensor, pos=None, video_mask=None, num_frames=0, frame_seqlen=0, kv_cache=None, current_start=0, cur
lingbot_map/layers/block.py:417
Methodforward
(self, x: Tensor, pos=None, num_patches=None, num_special=None, num_frames=None, enable_3d_rop
lingbot_map/layers/block.py:510
Methodforward
(self, x: Tensor)
lingbot_map/layers/layer_scale.py:21
Methodforward
(self, x: Tensor, pos=None, num_patches=None, num_special=None, num_frames=None, enable_3d_rope=False)
lingbot_map/layers/attention.py:65
Methodforward
(self, x: Tensor, block_mask=None, pos=None, pos_kv=None, frame_seqlen=None, video_mask=None, kv_cache=None, c
lingbot_map/layers/attention.py:139
Methodforward
Forward pass with FlashInfer paged KV cache and attention. Args: x: Input tensor [B, N, C] kv_cache: FlashIn
lingbot_map/layers/attention.py:428
Methodforward
(self, x: Tensor, pos=None, num_patches=None, num_special=None, num_frames=None, enable_3d_rop
lingbot_map/layers/attention.py:595
Methodforward
(self, x: Tensor)
lingbot_map/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
lingbot_map/layers/patch_embed.py:65
Methodforward
(self, x)
lingbot_map/layers/vision_transformer.py:40
Methodforward
(self, *args, is_training=True, **kwargs)
lingbot_map/layers/vision_transformer.py:339
Methodforward
Forward pass through the DPT head, supports processing by chunking frames. Args: aggregated_tokens_list (List[Tensor]): L
lingbot_map/heads/dpt_head.py:115
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
lingbot_map/heads/dpt_head.py:369
Methodforward
Forward pass. Returns: tensor: output
lingbot_map/heads/dpt_head.py:435
Methodforward
(self, out_features, patch_h, patch_w, return_intermediate=True)
lingbot_map/heads/dpt_head.py:568
Methodforward
Forward pass. Returns: tensor: output
lingbot_map/heads/dpt_head.py:654
Methodforward
Forward pass to predict camera parameters. Args: aggregated_tokens_list (list): List of token tensors from the network;
lingbot_map/heads/camera_head.py:77
Methodforward
Forward pass to predict camera parameters. Args: aggregated_tokens_list (list): List of token tensors from the network;
lingbot_map/heads/camera_head.py:256
Methodforward
(self, hidden, xpos=None)
lingbot_map/heads/camera_head.py:428
Methodfrom_dict
Deserialize from a dict (e.g., loaded from JSON). Args: d: Dictionary produced by to_dict() Returns: ResizeC
benchmark/benchmark/geometry/resize.py:339
Methodfrom_dict
(cls, d: dict)
demo_render/rgbd_render/config.py:104
Methodfrom_dict
(cls, d: dict)
demo_render/interactive_viewer/camera.py:149
Methodfrom_preset
Create from a named preset, with optional style overrides.
demo_render/rgbd_render/overlay.py:285
Functionfrustum_cull
( pts: torch.Tensor, R_cw: torch.Tensor, t_cw: torch.Tensor, fx: float, fy: float, cx:
demo_render/render_cuda_ext/render_cuda_ext/_api.py:11
Functionfrustum_cull_gpu
GPU frustum cull. Returns int64 index array (K,) on CPU.
demo_render/rgbd_render/geometry/culling.py:10
Methodfx
(self)
preprocess/oxford.py:215
Methodfy
(self)
preprocess/oxford.py:217
Methodgenerate_all_reports
(self, clean: bool = False)
benchmark/benchmark/report/generator.py:39
Methodgenerate_dataset_report
(self, dataset_name: str, clean: bool = False)
benchmark/benchmark/report/generator.py:42
Methodgenerate_pseudo_intrinsics
Generate pseudo intrinsics from image size.
lingbot_map/vis/point_cloud_viewer.py:984
Methodget_K
Get camera intrinsic matrix from FOV and image size.
lingbot_map/vis/utils.py:27
Functionget_branges_scales
(x, sample_drop_ratio=0.0)
lingbot_map/layers/block.py:131
Methodget_camera_state
Get current camera state from client.
lingbot_map/vis/point_cloud_viewer.py:974
Methodget_evaluation_config
Get global evaluation defaults from base config.
benchmark/benchmark/core/config.py:226
Methodget_frame_list
Get list of frame IDs for a specific scene. Args: scene: Scene identifier Returns: List of frame IDs (intege
benchmark/benchmark/dataset/base.py:64
Methodget_frame_list
Get all frame identifiers for sequence. Args: scene: Sequence name (format: 'chess/seq-01') Returns: List of
benchmark/datasets/seven_scenes.py:81
Methodget_frame_list
Return sequential frame indices [0, 1, ..., N-1] for the sequence.
benchmark/datasets/kitti.py:88
Methodget_frame_list
Return sequential frame indices [0 .. N-1].
benchmark/datasets/general.py:123
Methodget_frame_list
Return frame indices for a scene. Indices are 0-based integers matching the img{N}.png / depth{N}.png file naming convention.
benchmark/datasets/neural_rgbd.py:149
Methodget_frame_list
Get sorted list of frame IDs (parsed from JPG filenames). TAT images are named 000001.jpg, 000002.jpg, etc. (1-indexed). Args:
benchmark/datasets/tnt.py:85
Methodget_frame_list
(self, scene: str)
benchmark/datasets/eth3d.py:137
Methodget_frame_list
Return sequential frame indices [0, 1, ..., N-1].
benchmark/datasets/tum.py:129
Methodget_frame_list
(self, scene: str)
benchmark/datasets/droid_w.py:79
Methodget_frame_list
Return 0-based frame IDs (one per pose line).
benchmark/datasets/oxford_spires.py:66
Methodget_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
lingbot_map/layers/vision_transformer.py:313
Functionget_keyframes
(request)
demo_render/interactive_viewer/server.py:589
Methodget_kv_cache_info
Get information about current KV cache state. Returns: Dictionary with cache statistics: - num_cached_bl
lingbot_map/models/gct_stream.py:320
Methodget_kv_cache_info
Get information about current KV cache state. Returns: Dictionary with cache statistics: - num_cached_bl
lingbot_map/models/gct_stream_window.py:421
Methodget_kv_cache_info
Get information about current KV cache state. Returns: Dictionary with cache statistics: - num_cached_bl
lingbot_map/models/gct_stream_window_v2.py:484
Functionget_meta
(request)
demo_render/interactive_viewer/server.py:582
Functionget_model
Return Path to ONNX model. Raises FileNotFoundError if not present. Args: model_path: Optional explicit path to ONNX model file.
benchmark/benchmark/utils/sky_segmentation.py:16
Methodget_raw
Get raw value from base config.
benchmark/benchmark/core/config.py:259
Methodget_scene_index
Return the 0-based index of scene in the sorted scene list, or -1.
benchmark/benchmark/core/storage.py:221
Methodget_scenes
Get list of scene identifiers in the dataset. Returns: List of scene names/identifiers Note: Scene identifie
benchmark/benchmark/dataset/base.py:52
Methodget_scenes
Get all sequence names (per sequence, not per scene). Returns: List of sequence identifiers in format 'scene_name/seq-XX'
benchmark/datasets/seven_scenes.py:51
Methodget_scenes
Return list of sequence IDs as scene identifiers.
benchmark/datasets/kitti.py:77
Methodget_scenes
Return a single scene derived from the input name.
benchmark/datasets/general.py:119
Methodget_scenes
Return sorted list of scene names. Only directories containing a valid poses.txt are included, which correctly excludes any archives
benchmark/datasets/neural_rgbd.py:134
Methodget_scenes
Return TAT scenes whose directories exist under raw_data_root.
benchmark/datasets/tnt.py:81
Methodget_scenes
(self)
benchmark/datasets/eth3d.py:125
Methodget_scenes
Discover all scene directories or return the configured whitelist.
benchmark/datasets/tum.py:120
Methodget_scenes
(self)
benchmark/datasets/droid_w.py:63
Methodget_scenes
Return all scene directory names that have images/ and poses_c2w.txt.
benchmark/datasets/oxford_spires.py:57
Methodhas_custom_frame_data
Check if a frame key was saved (from .complete.json frame_keys).
benchmark/benchmark/core/loader.py:154
Methodhas_custom_global_data
Check if a global key was saved (from .complete.json global_keys).
benchmark/benchmark/core/loader.py:161
Methodhas_frame_key
Check whether a frame-level data key is present in this directory.
benchmark/benchmark/core/storage.py:87
Methodhas_key
Check if base config has a key.
benchmark/benchmark/core/config.py:263
Methodhas_traj_pair
Return True if both GT and method traj.txt files exist.
benchmark/benchmark/core/storage.py:230
Functionindex
(request)
demo_render/interactive_viewer/server.py:576
Methodinference_streaming
Streaming inference: process scale frames first, then frame-by-frame. This method enables efficient online inference by: 1.
lingbot_map/models/gct_stream_window.py:451
Methodinference_streaming
Streaming inference: process scale frames first, then frame-by-frame. This method enables efficient online inference by: 1.
lingbot_map/models/gct_stream_window_v2.py:514
Methodinference_windowed
Windowed inference with keyframe detection and cross-window alignment. Each window is processed independently with a fresh KV cache.
lingbot_map/models/gct_stream_window_v2.py:1022
Functioninit
()
benchmark/benchmark/report/templates/app.js:30
Functioninit_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
lingbot_map/layers/vision_transformer.py:347
Methodinsert_gpu
(self, pts_xyz_gpu, pts_rgb_gpu, frame_idx: int)
demo_render/rgbd_render/geometry/voxel.py:40
Methodload
(self, path: str)
demo_render/interactive_viewer/camera.py:262
Functionload_and_preprocess_images_square
Load and preprocess images by center padding to square and resizing to target size. Also returns the position information of original pixels
lingbot_map/utils/load_fn.py:16
Methodload_custom_frame_data
Load per-frame custom data via context's __load_{key}_file__ method.
benchmark/benchmark/core/loader.py:144
Methodload_custom_global_data
Load global-level custom data via context's __load_{key}_file__ method.
benchmark/benchmark/core/loader.py:135
Methodload_frame_data
Load data for a single frame. Args: scene: Scene identifier frame_id: Frame ID (position in the post-sampling frame l
benchmark/benchmark/dataset/base.py:78
Methodload_frame_data
Load single frame data. Args: scene: Sequence name (format: 'chess/seq-01') frame_id: Frame number (integer)
benchmark/datasets/seven_scenes.py:102
Methodload_frame_data
(self, scene: str, frame_id: int)
benchmark/datasets/vbr.py:89
← previousnext →901–1,000 of 1,058, ranked by callers