MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 2 callersFunctioncompute_gt_frame_indices
Compute which frames in a scene receive the GT prior. Args: scene_id: scene ID (used for deterministic randomness) n_frames: tota
benchmark/evaluation/run_benchmark_with_prior.py:58
↓ 2 callersFunctioncompute_min_spanning_tree
(pws)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:1029
↓ 2 callersFunctioncompute_pointcloud_metrics
3D reconstruction metrics (strictly aligned with the DA3 evaluate_3d_reconstruction + scannetpp.eval3d protocol). Pipeline: 1. (Only when c
benchmark/evaluation/metrics.py:811
↓ 2 callersFunctioncompute_score_fn
Compute the scores, i.e., the standard deviation of the 2D similarity heatmaps, given the query point features and reference frame feature ma
benchmark/models/page4d/dependency/track_modules/track_refine.py:302
↓ 2 callersMethodconfigure
(self, **kwargs)
benchmark/evaluation/model_adapters/r3_adapter.py:178
↓ 2 callersFunctionconstruct_list_of_attributes
(num_rest: int)
benchmark/models/depth_anything_3/utils/gsply_helpers.py:25
↓ 2 callersFunctionconstruct_list_of_attributes
(num_rest: int)
benchmark/models/r3/depth_anything_3/utils/gsply_helpers.py:25
↓ 2 callersFunctionconvert_metric_state_dict
Convert metric model state dict to match current model architecture. Args: state_dict: Original metric state dictionary Returns
benchmark/models/r3/depth_anything_3/utils/model_loading.py:75
↓ 2 callersFunctioncreate_loop_block
(block: int, target: int)
benchmark/models/scal3r/utils/loop/loop_utils.py:40
↓ 2 callersFunctioncreate_uv_grid
Create a normalized UV grid of shape (width, height, 2). The grid spans horizontally and vertically according to an aspect ratio, ensuri
benchmark/models/depth_anything_3/model/utils/head_utils.py:152
↓ 2 callersFunctioncreate_uv_grid
Create a normalized UV grid of shape (width, height, 2). The grid spans horizontally and vertically according to an aspect ratio, ensuri
benchmark/models/r3/depth_anything_3/model/utils/head_utils.py:152
↓ 2 callersFunctioncrop_image_depthmap
Crop image + depthmap and adjust intrinsics.
benchmark/utils/cropping.py:100
↓ 2 callersFunctioncrop_nhwc_image
( image: torch.Tensor, size: Iterable[int], center: bool = True, strict_center: bool = False,
benchmark/models/scal3r/utils/image_utils.py:17
↓ 2 callersFunctioncrop_resize_if_necessary
First downsample image using LANCZOS and then crop if necessary to achieve target resolution. This function performs high-quality downsampli
benchmark/models/mapanything/utils/cropping.py:385
↓ 2 callersFunctioncrop_tag
(cell)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:10
↓ 2 callersFunctioncustom_interpolate
Custom interpolation function to handle large tensors by chunking. Avoids INT_MAX overflow issues in nn.functional.interpolate when deal
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:541
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/streamvggt/heads/dpt_head.py:447
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/vggt/heads/dpt_head.py:459
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/dpt_head.py:486
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/stream3r/models/components/heads/dpt_head.py:472
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/lingbot_map/heads/dpt_head.py:462
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/omnivggt/heads/dpt_head.py:472
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/page4d/heads/dpt_head.py:459
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/fastvggt/heads/dpt_head.py:568
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/scal3r/utils/vggt/heads/dpt_head.py:486
↓ 2 callersFunctioncustom_interpolate
Custom interpolate to avoid INT_MAX issues in nn.functional.interpolate.
benchmark/models/zipmap/zipmap/heads/dpt_head_vggt_legacy.py:510
↓ 2 callersFunctioncustom_mask_mod_with_params
Factory function to create a mask_mod callable with specific windowing parameters. Args: block_size (int): The size of each attentio
benchmark/models/r3/depth_anything_3/model/dinov2/layers/flex_attn.py:19
↓ 2 callersMethoddecode
(self, hidden, N, H, W, ttt_dict: Optional[dict] = None, window_size: Optional[int] = None, overlap_size: Opti
benchmark/models/loger/models/pi3.py:332
↓ 2 callersFunctiondecode_camera_params
( cam: torch.Tensor, H: int | torch.Tensor | Iterable[int] | None = None, W: int | torch.Tensor |
benchmark/models/scal3r/utils/cam_utils.py:184
↓ 2 callersFunctiondecoder
(feat1, feat2, pos1, pos2, shape1, shape2)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:618
↓ 2 callersFunctiondecompose_se3_poses
Decompose (N, 4, 4) SE(3) poses into rotation matrices and translation vectors. Args: poses_4x4: (N, 4, 4) tensor R
benchmark/models/amb3r_root/amb3r/tools/pose_interp.py:3
↓ 2 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/r3/R3/utils/components_geometry.py:84
↓ 2 callersFunctiondepth_to_world_coords_points
Convert a batch of depth maps to world coordinates. Args: depth_map (torch.Tensor): (B, H, W) Depth map extrinsic (torch.Ten
benchmark/models/worldmirror_root/src/models/utils/geometry.py:57
↓ 2 callersFunctiondepthmap_to_absolute_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix - camera_pose: a 4x3 or 4x4 cam2world matrix Returns:
benchmark/models/dust3r_root/dust3r/utils/geometry.py:200
↓ 2 callersFunctiondepthmap_to_absolute_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix - camera_pose: a 4x3 or 4x4 cam2world matrix Returns:
benchmark/models/mast3r_root/dust3r/utils/geometry.py:200
↓ 2 callersFunctiondepthmap_to_camera_frame
Convert depth image to a pointcloud in camera frame. Args: - depthmap: HxW or BxHxW torch tensor - intrinsics: 3x3 or Bx3x3
benchmark/models/mapanything/utils/geometry.py:24
↓ 2 callersFunctiondetect_model_format
(path, ext)
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:462
↓ 2 callersFunctiondeterministic_resize
Deterministic resize: principal-point-centered crop + scale to target resolution.
benchmark/datasets/data_readers.py:45
↓ 2 callersMethoddevice
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:120
↓ 2 callersFunctiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
benchmark/models/loger/models/dinov2/hub/backbones.py:128
↓ 2 callersFunctiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
benchmark/models/pi3/models/dinov2/hub/backbones.py:128
↓ 2 callersFunctiondist_func
(A, B)
benchmark/models/mast3r_root/mast3r/fast_nn.py:30
↓ 2 callersFunctiondownload_file_from_url
Downloads a file from a Hugging Face model repo, handling redirects.
benchmark/models/loger/utils/visual_util.py:689
↓ 2 callersMethoddownstream_dense_head
Run the downstream dense prediction head
benchmark/models/mapanything/models/mapanything/model.py:1331
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=None )
benchmark/models/worldmirror_root/src/models/layers/block.py:96
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
benchmark/models/loger/models/dinov2/layers/block.py:116
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=No
benchmark/models/streamvggt/layers/block.py:112
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=None )
benchmark/models/vggt/layers/block.py:101
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=No
benchmark/models/stream3r/models/components/layers/block.py:129
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=None )
benchmark/models/lingbot_map/layers/block.py:104
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos: O
benchmark/models/depth_anything_3/model/dinov2/layers/block.py:106
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=No
benchmark/models/omnivggt/layers/block.py:159
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=None )
benchmark/models/page4d/layers/block.py:172
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos: O
benchmark/models/r3/depth_anything_3/model/dinov2/layers/block.py:192
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
benchmark/models/pi3/models/dinov2/layers/block.py:116
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=No
benchmark/models/scal3r/utils/vggt/layers/block.py:209
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos=None )
benchmark/models/zipmap/zipmap/layers/block.py:94
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/worldmirror_root/src/models/layers/block.py:170
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/loger/models/layers/block.py:185
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/loger/models/dinov2/layers/block.py:187
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/streamvggt/layers/block.py:189
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/vggt/layers/block.py:175
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/stream3r/models/components/layers/block.py:206
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/omnivggt/layers/block.py:236
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/page4d/layers/block.py:246
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/fastvggt/layers/block.py:190
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/pi3/models/layers/block.py:185
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/pi3/models/dinov2/layers/block.py:187
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/zipmap/zipmap/layers/block.py:168
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
benchmark/models/zipmap/zipmap/layers/block_ttt.py:198
↓ 2 callersMethoddrop_frames
Remove all edges that touch dropped frames.
benchmark/models/r3/R3/models/online/fallback.py:463
↓ 2 callersFunctionensure_paged_kv_store
Create the per-state FlashInfer paged KV store on first use.
benchmark/models/r3/R3/models/r3_wrapper/paged_kv.py:118
↓ 2 callersFunctionestimate_focal_knowing_depth
Reprojection method, for when the absolute depth is known: 1) estimate the camera focal using a robust estimator 2) reproject points
benchmark/models/dust3r_root/dust3r/post_process.py:12
↓ 2 callersFunctionestimate_scale_huber
Estimate scale via Huber regression across all bridge frames jointly. Solves old_d = scale * new_d using iteratively reweighted least squares wit
benchmark/models/r3/R3/models/online/scale_estimation.py:66
↓ 2 callersFunctionexpand_and_flatten_special_tokens
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing. Uses first position for frame 0, second position for remaini
benchmark/models/worldmirror_root/src/models/models/visual_transformer.py:397
↓ 2 callersFunctionexport_to_depth_vis
( prediction: Prediction, export_dir: str, )
benchmark/models/depth_anything_3/utils/export/depth_vis.py:23
↓ 2 callersFunctionexport_to_depth_vis
( prediction: Prediction, export_dir: str, )
benchmark/models/r3/depth_anything_3/utils/export/depth_vis.py:23
↓ 2 callersMethodextract_descriptor
(self)
benchmark/models/scal3r/utils/loop/detector.py:107
↓ 2 callersFunctionextract_intrinsics
(intrinsics)
benchmark/models/lingbot_map/utils/geometry.py:359
↓ 2 callersMethodextract_priors
Extract and normalize geometric priors. Args: views: Input view data dictionary. Returns: tuple: (d
benchmark/models/worldmirror_root/src/models/models/worldmirror.py:229
↓ 2 callersFunctionextract_xyz
(c2ws)
benchmark/models/scal3r/utils/loop/loop_utils.py:116
↓ 2 callersFunctionextri_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
benchmark/models/omnivggt/utils/pose_enc.py:11
↓ 2 callersFunctionextrinsics_to_pivot_parameters
Convert the extrinsics to a representation with 5 degrees of freedom: 1. Distance from pivot point in the "X" (look cross pivot axis) direction.
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:257
↓ 2 callersFunctionextrinsics_to_pivot_parameters
Convert the extrinsics to a representation with 5 degrees of freedom: 1. Distance from pivot point in the "X" (look cross pivot axis) direction.
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:257
↓ 2 callersFunctionfallback_detect_loops
( image_list: List[str], result_dir: str, image_size: Tuple[int, int] = (64, 64), top_k: int =
benchmark/models/scal3r/utils/loop/detector.py:220
↓ 2 callersFunctionfast_pnp
(pts3d, focal, msk, device, pp=None, niter_PnP=10)
benchmark/models/dust3r_root/dust3r/cloud_opt/init_im_poses.py:247
↓ 2 callersFunctionfast_pnp
(pts3d, focal, msk, device, pp=None, niter_PnP=10)
benchmark/models/mast3r_root/dust3r/cloud_opt/init_im_poses.py:247
↓ 2 callersFunctionfilter_by_quantile
Filter loss tensor by keeping only values below a certain quantile threshold. This helps remove outliers that could destabilize training
benchmark/models/amb3r_root/amb3r/loss.py:669
↓ 2 callersFunctionfilter_pairs_seq
(pairs, seq_dis_thr, cyclic=False)
benchmark/models/dust3r_root/dust3r/image_pairs.py:94
↓ 2 callersFunctionfilter_pairs_seq
(pairs, seq_dis_thr, cyclic=False)
benchmark/models/mast3r_root/mast3r/image_pairs.py:105
↓ 2 callersFunctionfilter_pairs_seq
(pairs, seq_dis_thr, cyclic=False)
benchmark/models/mast3r_root/dust3r/image_pairs.py:94
↓ 2 callersFunctionfinalize_transforms
( image: torch.Tensor, mask: torch.Tensor, ixt: torch.Tensor, dataset_cfg: dotdict, target
benchmark/models/scal3r/utils/image_utils.py:246
↓ 2 callersFunctionfind_closest_aspect_ratio
Find the closest aspect ratio from the resolution mappings using efficient key lookup. Args: aspect_ratio (float): Target aspect rat
benchmark/models/mapanything/utils/image.py:87
↓ 2 callersFunctionfind_homography_least_squares_weighted_torch_batch
Batch version of weighted least squares Homography src_pts_batch: (B, K, 2) dst_pts_batch: (B, K, 2) confident_weight_batch: (B, K)
benchmark/models/depth_anything_3/utils/ray_utils.py:208
↓ 2 callersFunctionfind_homography_least_squares_weighted_torch_batch
Batch version of weighted least squares Homography src_pts_batch: (B, K, 2) dst_pts_batch: (B, K, 2) confident_weight_batch: (B, K)
benchmark/models/r3/depth_anything_3/utils/ray_utils.py:208
↓ 2 callersMethodfind_loop
(self)
benchmark/models/scal3r/utils/loop/detector.py:138
↓ 2 callersFunctionfmt_k_line
(K: np.ndarray | None)
benchmark/models/depth_anything_3/utils/io/input_processor.py:402
↓ 2 callersFunctionfmt_k_line
(K: np.ndarray | None)
benchmark/models/r3/depth_anything_3/utils/io/input_processor.py:402
↓ 2 callersFunctionforward
(model, batches, args, recorder: StageRecorder | None = None)
benchmark/models/scal3r/pipelines/backend.py:247
↓ 2 callersMethodforward
(self, frames)
benchmark/models/amb3r_root/amb3r/model_zoo.py:119
← previousnext →801–900 of 5,295, ranked by callers