MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 1 callersMethoddecode
(self, hidden, N, H, W, poses, use_pose_mask)
benchmark/models/pi3/models/pi3x.py:458
↓ 1 callersMethoddecode_heads
Decode feature using VGGT heads to get depth, camera pose, and 3D points. Params: - images: input images (B, nim
benchmark/models/amb3r_root/amb3r/frontend.py:81
↓ 1 callersMethoddecode_patch_tokens
Decode patch tokens using VGGT decoder. Params: - patch_tokens: dict containing patch tokens - image
benchmark/models/amb3r_root/amb3r/frontend.py:63
↓ 1 callersFunctiondefault_setup
(args)
benchmark/models/loger/models/dinov2/utils/config.py:49
↓ 1 callersFunctiondefault_ttt_order
()
benchmark/models/scal3r/models/scal3r.py:43
↓ 1 callersFunctiondepth_edge
Compute the edge mask from depth map. The edge is defined as the pixels whose neighbors have large difference in depth. Args: depth
benchmark/models/mapanything/utils/geometry.py:2031
↓ 1 callersMethoddepth_read_bonn
(self, filename: str)
benchmark/models/amb3r_root/amb3r/datasets/bonn.py:36
↓ 1 callersMethoddepth_read_kitti
(self, filename)
benchmark/models/amb3r_root/amb3r/datasets/kitti.py:37
↓ 1 callersMethoddepth_read_sintel
Read depth data from file, return as numpy array.
benchmark/models/amb3r_root/amb3r/datasets/sintel.py:37
↓ 1 callersFunctiondepth_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):
benchmark/models/streamvggt/utils/geometry.py:154
↓ 1 callersFunctiondepth_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):
benchmark/models/vggt/utils/geometry.py:87
↓ 1 callersFunctiondepth_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):
benchmark/models/vgg_ttt/vggttt/nets/vggt/utils/geometry.py:83
↓ 1 callersFunctiondepth_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):
benchmark/models/lingbot_map/utils/geometry.py:97
↓ 1 callersFunctiondepth_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):
benchmark/models/omnivggt/utils/geometry.py:236
↓ 1 callersFunctiondepth_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):
benchmark/models/page4d/utils/geometry.py:87
↓ 1 callersFunctiondepth_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):
benchmark/models/fastvggt/utils/geometry.py:87
↓ 1 callersFunctiondepth_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):
benchmark/models/zipmap/zipmap/utils/geometry.py:91
↓ 1 callersFunctiondepth_to_camera_coords
Convert depth map to 3D camera coordinates. Args: depthmap (BxHxW tensor): Batch of depth maps camera_intrinsics (Bx3x3
benchmark/models/worldmirror_root/src/models/utils/geometry.py:5
↓ 1 callersMethoddepth_to_pts3d
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:200
↓ 1 callersMethoddepth_to_pts3d
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/optimizer.py:170
↓ 1 callersMethoddepth_to_pts3d
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/modular_optimizer.py:130
↓ 1 callersMethoddepth_to_pts3d
(self)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:200
↓ 1 callersMethoddepth_to_pts3d
(self)
benchmark/models/mast3r_root/dust3r/cloud_opt/optimizer.py:170
↓ 1 callersMethoddepth_to_pts3d
(self)
benchmark/models/mast3r_root/dust3r/cloud_opt/modular_optimizer.py:130
↓ 1 callersFunctiondepth_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
benchmark/models/streamvggt/utils/geometry.py:114
↓ 1 callersFunctiondepth_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
benchmark/models/vggt/utils/geometry.py:47
↓ 1 callersFunctiondepth_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
benchmark/models/vgg_ttt/vggttt/nets/vggt/utils/geometry.py:43
↓ 1 callersFunctiondepth_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
benchmark/models/lingbot_map/utils/geometry.py:57
↓ 1 callersFunctiondepth_to_world_coords_points
Converts a depth map to world coordinates (HxWx3) given the camera extrinsic and intrinsic. Returns both the world coordinates and the interm
benchmark/models/omnivggt/utils/geometry.py:183
↓ 1 callersFunctiondepth_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
benchmark/models/page4d/utils/geometry.py:47
↓ 1 callersFunctiondepth_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
benchmark/models/fastvggt/utils/geometry.py:47
↓ 1 callersFunctiondepth_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
benchmark/models/r3/R3/utils/components_geometry.py:44
↓ 1 callersFunctiondepth_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
benchmark/models/zipmap/zipmap/utils/geometry.py:44
↓ 1 callersFunctiondepth_to_world_points
Compute world-coordinate points from depth map + intrinsics + extrinsics (w2c). Args: depth: (N, H, W) numpy intrinsics: (N, 3, 3
benchmark/utils/sim3_align.py:217
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
benchmark/models/loger/utils/geometry.py:109
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
benchmark/models/stream3r/dust3r/utils/geometry.py:194
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
benchmark/models/omnivggt/utils/geometry.py:39
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
benchmark/models/dust3r_root/dust3r/utils/geometry.py:165
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
benchmark/models/mapanything/utils/geometry.py:1230
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
benchmark/models/pi3/utils/geometry.py:72
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
benchmark/models/mast3r_root/dust3r/utils/geometry.py:165
↓ 1 callersFunctiondetect_depth_discontinuities
Flag pixels whose depth differs significantly from at least one neighbour within a (ksize x ksize) window. Args: depth (np.ndarr
benchmark/models/amb3r_root/amb3r/tools/pts_vis.py:167
↓ 1 callersFunctiondetect_input_type
Detect input type from path. Returns: - "image": Single image file - "images": Directory containing images - "video"
benchmark/models/r3/depth_anything_3/cli.py:57
↓ 1 callersFunctiondetect_loops
( image_list: List[str], result_dir: str, loop_ckpt: str = "", nms_threshold: int = 25, mi
benchmark/models/scal3r/utils/loop/detector.py:282
↓ 1 callersFunctiondetect_normal_discontinuities
Flag pixels whose surface normal deviates sharply from at least one neighbour. Args: normals (np.ndarray) : (..., H, W, 3) surfa
benchmark/models/amb3r_root/amb3r/tools/pts_vis.py:203
↓ 1 callersFunctiondetermine_target_size
(height: int, width: int, dataset_cfg: dotdict)
benchmark/models/scal3r/utils/image_utils.py:207
↓ 1 callersFunctiondict_to_sparse_graph
(dic)
benchmark/models/dust3r_root/dust3r/cloud_opt/init_im_poses.py:212
↓ 1 callersFunctiondict_to_sparse_graph
(dic)
benchmark/models/mast3r_root/dust3r/cloud_opt/init_im_poses.py:212
↓ 1 callersFunctiondispatch
(gpu_id, cfg_path)
benchmark/evaluation/bench_memory_curve.py:811
↓ 1 callersMethoddisplay
(self, refresh: bool = True, *_, **__)
benchmark/models/scal3r/utils/console_utils.py:204
↓ 1 callersMethoddistance
(self, a, b)
benchmark/models/dust3r_root/dust3r/losses.py:50
↓ 1 callersMethoddistance
(self, a, b)
benchmark/models/mast3r_root/dust3r/losses.py:50
↓ 1 callersMethoddownstream_head
Run Prediction Heads & Post-Process Outputs Args: dense_head_inputs: Dense head input features. scale_head_i
benchmark/models/mapanything/models/mapanything/model.py:1369
↓ 1 callersFunctiondraw_camera
(c2w, cam_width=0.24/2, cam_height=0.16/2, f=0.10, color=[0, 1, 0], show_axis=True)
benchmark/models/amb3r_root/amb3r/tools/vis.py:5
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/worldmirror_root/src/models/layers/drop_path.py:9
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/loger/models/dinov2/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/streamvggt/layers/drop_path.py:4
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/vggt/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/stream3r/models/components/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
benchmark/models/stream3r/croco/models/blocks.py:45
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/lingbot_map/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/depth_anything_3/model/dinov2/layers/drop_path.py:15
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/omnivggt/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/page4d/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/fastvggt/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
benchmark/models/dust3r_root/croco/models/blocks.py:32
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/r3/depth_anything_3/model/dinov2/layers/drop_path.py:15
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/pi3/models/dinov2/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/scal3r/utils/vggt/layers/drop_path.py:14
↓ 1 callersFunctiondrop_path
(x, drop_prob: float = 0.0, training: bool = False)
benchmark/models/zipmap/zipmap/layers/drop_path.py:9
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
benchmark/models/mast3r_root/croco/models/blocks.py:32
↓ 1 callersFunctionedge_conf
(conf_i, conf_j, edge)
benchmark/models/dust3r_root/dust3r/cloud_opt/commons.py:20
↓ 1 callersFunctionedge_conf
(conf_i, conf_j, edge)
benchmark/models/mast3r_root/dust3r/cloud_opt/commons.py:20
↓ 1 callersMethodencode
( self, imgs, with_prior=True, depths=None, rays=None, intri
benchmark/models/loger/models/pi3x.py:260
↓ 1 callersMethodencode_image_pairs
run encoder for a pair of images it is actually ~5% faster to concatenate the images along the batch dimension than to enco
benchmark/models/dust3r_root/croco/models/croco_downstream.py:94
↓ 1 callersMethodencode_image_pairs
run encoder for a pair of images it is actually ~5% faster to concatenate the images along the batch dimension than to enco
benchmark/models/mast3r_root/croco/models/croco_downstream.py:94
↓ 1 callersMethodencode_symmetrized
(self, view1, view2)
benchmark/models/mast3r_root/mast3r/model.py:180
↓ 1 callersFunctionencoding_to_camera
Decode VGGT-Omega pose encoding into extrinsics and intrinsics.
benchmark/models/vggt_omega/utils/pose_enc.py:29
↓ 1 callersMethodend_step
(self)
benchmark/models/r3/R3/models/online/flashinfer_backend.py:311
↓ 1 callersMethodestimate
Estimate scale from pair-wise distance ratios. Args: old_poses: Bridge frame poses in old coord system, each [B, 9] (pose_enc for
benchmark/models/r3/R3/models/online/fallback.py:345
↓ 1 callersFunctionestimate_memory_requirement
Heuristic estimate for memory usage (GB) based on image count and resolution. This mirrors the simple policy used by the backend service so other
benchmark/models/r3/depth_anything_3/utils/memory.py:110
↓ 1 callersFunctionestimate_scale_weighted_median
Weighted-median scale estimation (pre-RANSAC, top-25% confidence pixels).
benchmark/models/r3/R3/models/online/scale_estimation.py:8
↓ 1 callersFunctionestimate_sim3
Estimate SIM(3) transform: source -> target. Use SVD to solve for s, R, t such that target ≈ s * R @ source + t. Args: source_points
benchmark/utils/sim3_align.py:9
↓ 1 callersFunctioneuler_to_matrix
( rotations: torch.Tensor, # "*batch 3" pattern: str, )
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:246
↓ 1 callersFunctioneuler_to_matrix
( rotations: torch.Tensor, # "*batch 3" pattern: str, )
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:246
↓ 1 callersFunctioneval_trajectory
(poses_est, poses_gt, frame_ids, align=False)
benchmark/models/vggt/utils/eval_utils.py:174
↓ 1 callersFunctioneval_trajectory
(poses_est, poses_gt, frame_ids, align=False)
benchmark/models/fastvggt/utils/eval_utils.py:174
↓ 1 callersMethodeviction
Evicts tokens from the key-value cache based on key cosine similarity. Args: k (torch.Tensor): The key tensor of shape [
benchmark/models/streamvggt/layers/attention.py:48
↓ 1 callersMethodexecute_deferred_eviction
Run the eviction that was skipped while ``_defer_eviction`` was True.
benchmark/models/lingbot_map/layers/flashinfer_cache.py:256
↓ 1 callersFunctionexists
(val)
benchmark/models/vggt/heads/track_modules/modules.py:28
↓ 1 callersFunctionexists
(val)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/modules.py:36
↓ 1 callersFunctionexists
(val)
benchmark/models/page4d/heads/track_modules/modules.py:28
↓ 1 callersFunctionexists
(val)
benchmark/models/page4d/dependency/track_modules/modules.py:28
↓ 1 callersFunctionexists
(val)
benchmark/models/fastvggt/heads/track_modules/modules.py:28
↓ 1 callersFunctionexport
( prediction: Prediction, export_format: str, export_dir: str, **kwargs, )
benchmark/models/depth_anything_3/utils/export/__init__.py:24
↓ 1 callersFunctionexport
( prediction: Prediction, export_format: str, export_dir: str, **kwargs, )
benchmark/models/r3/depth_anything_3/utils/export/__init__.py:24
↓ 1 callersFunctionexport_ply
( means: Tensor, # "gaussian 3" scales: Tensor, # "gaussian 3" rotations: Tensor, # "gaussian 4
benchmark/models/depth_anything_3/utils/gsply_helpers.py:39
↓ 1 callersFunctionexport_ply
( means: Tensor, # "gaussian 3" scales: Tensor, # "gaussian 3" rotations: Tensor, # "gaussian 4
benchmark/models/r3/depth_anything_3/utils/gsply_helpers.py:39
↓ 1 callersFunctionexport_to_colmap
( prediction: Prediction, export_dir: str, image_paths: list[str], conf_thresh_percentile: flo
benchmark/models/depth_anything_3/utils/export/colmap.py:28
← previousnext →2,001–2,100 of 5,295, ranked by callers