MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 1 callersFunctionumeyama_alignment
Performs Kabsch-Umeyama alignment with optional scale for a single point cloud. Args: pts_pred: (N, 3) tensor of predicted points.
benchmark/models/amb3r_root/amb3r/tools/pose_align.py:5
↓ 1 callersFunctionumeyama_alignment
(src, dst, estimate_scale=True)
benchmark/models/fastvggt/utils/eval_utils.py:54
↓ 1 callersFunctionunproject
Unproject 2D camera coordinates with the given Z values.
benchmark/models/depth_anything_3/utils/geometry.py:271
↓ 1 callersFunctionunproject
Unproject 2D camera coordinates with the given Z values.
benchmark/models/r3/depth_anything_3/utils/geometry.py:271
↓ 1 callersFunctionunproject_depth
Turn the depth map into a 3D point cloud in world space Args: depth: (b, v, h, w, 1) intrinsics: (b, v, 3, 3) c2w: (
benchmark/models/worldmirror_root/src/models/utils/frustum.py:168
↓ 1 callersFunctionunproject_depth
Turn the depth map into a 3D point cloud in world space Args: depth: (b, v, h, w, 1) intrinsics: (b, v, 3, 3) c2w: (
benchmark/models/r3/depth_anything_3/utils/geometry.py:434
↓ 1 callersFunctionunproject_depth_map_to_point_map
Unproject a batch of depth maps to 3D world coordinates. Args: depth_map (np.ndarray): Batch of depth maps of shape (S, H, W, 1) or
benchmark/models/vggt/utils/geometry.py:15
↓ 1 callersFunctionunproject_depth_map_to_point_map
Unproject a batch of depth maps to 3D world coordinates. Args: depth_map (np.ndarray): Batch of depth maps of shape (S, H, W, 1) or
benchmark/models/vgg_ttt/vggttt/nets/vggt/utils/geometry.py:11
↓ 1 callersFunctionunproject_depth_map_to_point_map
Unproject a batch of depth maps to 3D world coordinates. Args: depth_map (np.ndarray): Batch of depth maps of shape (S, H, W, 1) or
benchmark/models/fastvggt/utils/geometry.py:15
↓ 1 callersFunctionupdate_camera_for_target
(client: viser.ClientHandle, t: int)
benchmark/models/loger/utils/viser_utils.py:95
↓ 1 callersMethodupdate_patch_dimensions
Update patch dimensions for all attention layers in the model Args: patch_width: Patch width (typically 37)
benchmark/models/fastvggt/models/vggt.py:71
↓ 1 callersFunctionuses_paged_kv_backend
Return whether online inference should route global attention through FlashInfer pages.
benchmark/models/r3/R3/models/r3_wrapper/paged_kv.py:14
↓ 1 callersFunctionvalidate_input_views_for_inference
Strict validation and preprocessing of input views. Args: views: List of view dictionaries Returns: Validated and prepr
benchmark/models/mapanything/utils/inference.py:129
↓ 1 callersFunctionvector_to_camera_matrices
Reconstruct extrinsic and intrinsic matrix from vector.
benchmark/models/worldmirror_root/src/models/utils/camera_utils.py:46
↓ 1 callersFunctionvis_depth_map_tensor
Color-map the depth map.
benchmark/models/depth_anything_3/utils/visualize.py:84
↓ 1 callersFunctionvis_depth_map_tensor
Color-map the depth map.
benchmark/models/r3/depth_anything_3/utils/visualize.py:84
↓ 1 callersFunctionvisualize_depth
Visualize a depth map using a colormap. Args: depth: Input depth map array depth_min: Minimum depth value for normalization.
benchmark/models/depth_anything_3/utils/visualize.py:23
↓ 1 callersFunctionvisualize_depth
Visualize a depth map using a colormap. Args: depth: Input depth map array depth_min: Minimum depth value for normalization.
benchmark/models/r3/depth_anything_3/utils/visualize.py:23
↓ 1 callersFunctionvisualize_gt
Save the GT point cloud + camera frustums as a GLB file. All models share the same GT visualization function. Args: scene: dict from
benchmark/utils/visualization.py:370
↓ 1 callersFunctionvisualize_loop
(ini_track, opt_track, loop_track, output_dir)
benchmark/models/scal3r/utils/loop/loop_utils.py:115
↓ 1 callersMethodvisualize_prediction
DA3 visualization: pure depth + pose unprojection, no direct point cloud output.
benchmark/evaluation/model_adapters/da3_adapter.py:202
↓ 1 callersFunctionvit_base
(patch_size=16, num_register_tokens=0, **kwargs)
benchmark/models/scal3r/utils/vggt/layers/vision_transformer.py:360
↓ 1 callersMethodvoxel_to_point_interpolation
Interpolate point/voxel features back to exact continuous points via batched chunked KNN.
benchmark/models/amb3r_root/amb3r/backend.py:104
↓ 1 callersFunctionwarp_kpts
Warp kpts0 from I0 to I1 with depth, K and Rt Also check covisibility and depth consistency. Depth is consistent if relative error < 0.2 (hard
benchmark/models/loger/utils/geometry.py:184
↓ 1 callersFunctionwarp_kpts
Warp kpts0 from I0 to I1 with depth, K and Rt Also check covisibility and depth consistency. Depth is consistent if relative error < 0.2 (hard
benchmark/models/pi3/utils/geometry.py:147
↓ 1 callersFunctionweighted_estimate_sim3
Weighted SIM(3) estimation: source -> target. Args: source_points: (M, 3) target_points: (M, 3) weights: (M,) weights
benchmark/utils/sim3_align.py:46
↓ 1 callersFunctionweighted_median
Compute weighted median of values.
benchmark/models/r3/R3/models/online/fallback.py:72
↓ 1 callersMethodwith_reduction
(self, mode='none')
benchmark/models/dust3r_root/dust3r/losses.py:73
↓ 1 callersMethodwith_reduction
(self, mode='none')
benchmark/models/mast3r_root/dust3r/losses.py:73
↓ 1 callersFunctionworld_space_to_camera_space
Convert world space points to pixel space points. Args: world_space_points (torch.Tensor): World space points with shape (b, v1, h,
benchmark/models/worldmirror_root/src/models/utils/frustum.py:152
↓ 1 callersFunctionwrapper_no
(decout, true_shape)
benchmark/models/stream3r/dust3r/utils/misc.py:67
↓ 1 callersFunctionwrite_camera
( cameras: dict, path: str, intri_name: str = "", extri_name: str = "", )
benchmark/models/scal3r/utils/cam_utils.py:87
↓ 1 callersFunctionwrite_cameras_binary
see: src/colmap/scene/reconstruction.cc void Reconstruction::WriteCamerasBinary(const std::string& path) void Reconstruction::Rea
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:182
↓ 1 callersFunctionwrite_cameras_text
see: src/colmap/scene/reconstruction.cc void Reconstruction::WriteCamerasText(const std::string& path) void Reconstruction::ReadC
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:163
↓ 1 callersFunctionwrite_config
(cfg, output_dir, name="config.yaml")
benchmark/models/loger/models/dinov2/utils/config.py:32
↓ 1 callersFunctionwrite_images_binary
see: src/colmap/scene/reconstruction.cc void Reconstruction::ReadImagesBinary(const std::string& path) void Reconstruction::Write
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:325
↓ 1 callersFunctionwrite_images_text
see: src/colmap/scene/reconstruction.cc void Reconstruction::ReadImagesText(const std::string& path) void Reconstruction::WriteIm
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:287
↓ 1 callersFunctionwrite_lines
(path: str, lines: Iterable[str])
benchmark/models/scal3r/utils/data_utils.py:27
↓ 1 callersFunctionwrite_log_stats
(epoch, train_stats, test_stats)
benchmark/models/amb3r_root/amb3r/training.py:629
↓ 1 callersFunctionwrite_model
(cameras, images, points3D, path, ext=".bin")
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:496
↓ 1 callersFunctionwrite_points3D_binary
see: src/colmap/scene/reconstruction.cc void Reconstruction::ReadPoints3DBinary(const std::string& path) void Reconstruction::Wri
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:443
↓ 1 callersFunctionwrite_points3D_text
see: src/colmap/scene/reconstruction.cc void Reconstruction::ReadPoints3DText(const std::string& path) void Reconstruction::Write
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:414
↓ 1 callersFunctionxy_grid
Output a (H,W,2) array of int32 with output[j,i,0] = i + origin[0] output[j,i,1] = j + origin[1]
benchmark/models/stream3r/dust3r/utils/geometry.py:21
↓ 1 callersFunctionxy_grid
Output a (H,W,2) array of int32 with output[j,i,0] = i + origin[0] output[j,i,1] = j + origin[1]
benchmark/models/omnivggt/utils/geometry.py:15
↓ 1 callersFunctionxy_grid
Generate a coordinate grid of shape (H,W,2) or (H,W,3) if homogeneous=True. Args: W (int): Width of the grid H (int): Height
benchmark/models/mapanything/utils/geometry.py:910
FunctionPYBIND11_MODULE
benchmark/models/stream3r/croco/models/curope/curope.cpp:67
FunctionPYBIND11_MODULE
benchmark/models/dust3r_root/croco/models/curope/curope.cpp:67
FunctionPYBIND11_MODULE
benchmark/models/mast3r_root/croco/models/curope/curope.cpp:67
FunctionRGB2SH
(rgb)
benchmark/models/worldmirror_root/src/models/utils/sh_utils.py:112
FunctionSH2RGB
(sh)
benchmark/models/worldmirror_root/src/models/utils/sh_utils.py:115
Function_
(_)
benchmark/models/loger/utils/viser_utils.py:535
Function_
(_)
benchmark/models/r3/view.py:887
Method__add__
(self, loss2)
benchmark/models/dust3r_root/dust3r/losses.py:107
Method__add__
(self, loss2)
benchmark/models/mast3r_root/dust3r/losses.py:107
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/worldmirror_root/src/models/layers/rope.py:33
Method__call__
(self, b, h, w, device)
benchmark/models/loger/models/layers/pos_embed.py:168
Method__call__
(self, frame_idx: int, frame: dict, pred_cpu: dict)
benchmark/models/streamvggt/utils/geometry.py:23
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/streamvggt/layers/rope.py:23
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/vggt/layers/rope.py:39
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/rope.py:39
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/stream3r/models/components/layers/rope.py:39
Method__call__
(self, b, h, w, device)
benchmark/models/stream3r/croco/models/blocks.py:427
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/lingbot_map/layers/rope.py:41
Method__call__
Convert model output to Prediction object. Args: model_output: Model output dictionary containing depth, conf, extrinsic
benchmark/models/depth_anything_3/utils/io/output_processor.py:42
Method__call__
Returns: (tensor, extrinsics_list, intrinsics_list) tensor shape: (1, N, 3, H, W)
benchmark/models/depth_anything_3/utils/io/input_processor.py:65
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/depth_anything_3/model/dinov2/layers/rope.py:38
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/omnivggt/layers/rope.py:39
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/page4d/layers/rope.py:39
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/fastvggt/layers/rope.py:39
Method__call__
(self, x)
benchmark/models/dust3r_root/croco/models/masking.py:22
Method__call__
(self, b, h, w, device)
benchmark/models/dust3r_root/croco/models/blocks.py:201
Method__call__
(self, fn)
benchmark/models/mapanything/utils/warnings.py:31
Method__call__
Convert model output to Prediction object. Args: model_output: Model output dictionary containing depth, conf, extrinsic
benchmark/models/r3/depth_anything_3/utils/io/output_processor.py:42
Method__call__
Returns: (tensor, extrinsics_list, intrinsics_list) tensor shape: (1, N, 3, H, W)
benchmark/models/r3/depth_anything_3/utils/io/input_processor.py:65
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/r3/depth_anything_3/model/dinov2/layers/rope.py:38
Method__call__
(self, b, h, w, device)
benchmark/models/pi3/models/layers/pos_embed.py:168
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/scal3r/utils/vggt/layers/rope.py:37
Method__call__
Generates spatial positions for a batch of patches. Args: batch_size: Number of samples in the batch. height: Height
benchmark/models/zipmap/zipmap/layers/rope.py:32
Method__call__
(self, x)
benchmark/models/mast3r_root/croco/models/masking.py:22
Method__call__
(self, b, h, w, device)
benchmark/models/mast3r_root/croco/models/blocks.py:201
Method__deepcopy__
Clone cache tensors while leaving the FlashInfer wrapper unplanned.
benchmark/models/r3/R3/models/online/flashinfer_backend.py:112
Method__delattr__
(self, key: str)
benchmark/models/scal3r/utils/base_utils.py:20
Method__enter__
(self)
benchmark/models/mapanything/utils/warnings.py:40
Method__exit__
(self, exc_type, exc_val, exc_tb)
benchmark/models/mapanything/utils/warnings.py:45
Method__getattr__
(self, key: str)
benchmark/models/scal3r/utils/base_utils.py:11
Method__getitem__
Load all fixed frames of one scene. Returns: dict: scene_id: str source_dataset: str
benchmark/datasets/benchmark_dataset.py:283
Method__getitem__
(self, it)
benchmark/models/loger/models/dinov2/utils/utils.py:83
Method__getitem__
(self, key)
benchmark/models/r3/R3/models/online/state.py:27
Method__init__
(self, images)
benchmark/utils/cropping.py:42
Method__init__
(self, conf_threshold=0.5)
benchmark/datasets/data_readers.py:393
Method__init__
(self)
benchmark/datasets/data_readers.py:471
Method__init__
(self, scene_index_path)
benchmark/datasets/benchmark_dataset.py:21
Method__init__
(self, scene_index_path, benchmark_root=None, tags=None,
benchmark/datasets/benchmark_dataset.py:134
Method__init__
Initializes the 2D RoPE module.
benchmark/models/worldmirror_root/src/models/layers/rope.py:73
Method__init__
(self, drop_prob=None)
benchmark/models/worldmirror_root/src/models/layers/drop_path.py:24
Method__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
benchmark/models/worldmirror_root/src/models/layers/block.py:22
Method__init__
(self, dim: int, init_values: Union[float, Tensor] = 1e-5, inplace: bool = False)
benchmark/models/worldmirror_root/src/models/layers/layer_scale.py:11
Method__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = True, proj_bias
benchmark/models/worldmirror_root/src/models/layers/attention.py:20
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
benchmark/models/worldmirror_root/src/models/layers/mlp.py:12
Method__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
benchmark/models/worldmirror_root/src/models/layers/swiglu_ffn.py:50
← previousnext →2,901–3,000 of 5,295, ranked by callers