MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 1 callersFunctionparallel_execution
( *args, action: Callable, num_processes=32, print_progress=False, sequential=False, a
benchmark/models/r3/depth_anything_3/utils/parallel_utils.py:64
↓ 1 callersFunctionparallel_threads
tqdm but with parallel execution. Will essentially return res = [ function(arg) # default function(*arg) # if star_args is
benchmark/models/dust3r_root/dust3r/utils/parallel.py:12
↓ 1 callersFunctionparallel_threads
tqdm but with parallel execution. Will essentially return res = [ function(arg) # default function(*arg) # if star_args is
benchmark/models/mast3r_root/dust3r/utils/parallel.py:12
↓ 1 callersFunctionparse_args
()
benchmark/models/r3/demo.py:86
↓ 1 callersFunctionparse_args
()
benchmark/models/scal3r/pipelines/backend.py:650
↓ 1 callersFunctionparse_scalar
(s)
benchmark/models/r3/depth_anything_3/utils/api_helpers.py:4
↓ 1 callersFunctionparse_seq_path
Return sorted image paths for a directory, or extract video frames to a temp dir. Returns: tuple[list[str], str | None]: image paths and
benchmark/models/r3/R3/utils/input_io.py:36
↓ 1 callersMethodpatchify
imgs: (B, 3, H, W) x: (B, L, patch_size**2 *3)
benchmark/models/dust3r_root/croco/models/croco.py:203
↓ 1 callersMethodpatchify
imgs: (B, 3, H, W) x: (B, L, patch_size**2 *3)
benchmark/models/mast3r_root/croco/models/croco.py:203
↓ 1 callersFunctionpivot_parameters_to_extrinsics
( parameters: torch.Tensor, # "*#batch 5" pivot_coordinate_frame: torch.Tensor, # "*#batch 3 3"
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:286
↓ 1 callersFunctionpivot_parameters_to_extrinsics
( parameters: torch.Tensor, # "*#batch 5" pivot_coordinate_frame: torch.Tensor, # "*#batch 3 3"
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:286
↓ 1 callersFunctionpixel_grid
(H, W)
benchmark/models/dust3r_root/dust3r/cloud_opt/init_im_poses.py:243
↓ 1 callersFunctionpixel_grid
(H, W)
benchmark/models/mast3r_root/dust3r/cloud_opt/init_im_poses.py:243
↓ 1 callersFunctionpixel_space_to_camera_space
Convert pixel space points to camera space points. Args: pixel_space_points (torch.Tensor): Pixel space points with shape (h, w, 2)
benchmark/models/worldmirror_root/src/models/utils/frustum.py:102
↓ 1 callersFunctionpixel_space_to_camera_space
Convert pixel space points to camera space points. Args: pixel_space_points (torch.Tensor): Pixel space points with shape (h, w, 2)
benchmark/models/depth_anything_3/utils/geometry.py:359
↓ 1 callersFunctionpixel_space_to_camera_space
Convert pixel space points to camera space points. Args: pixel_space_points (torch.Tensor): Pixel space points with shape (h, w, 2)
benchmark/models/r3/depth_anything_3/utils/geometry.py:359
↓ 1 callersFunctionpoints_to_normals
Calculate normal map from point map. Value range is [-1, 1]. Args: point (np.ndarray): shape (height, width, 3), point map m
benchmark/models/mapanything/utils/geometry.py:1717
↓ 1 callersFunctionpos2d_in_rect
(p1, cell1)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:104
↓ 1 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics. This function performs the inverse operation of extri_intri_to_pose_encoding,
benchmark/models/streamvggt/utils/pose_enc.py:65
↓ 1 callersFunctionpose_encoding_to_extri_intri
( pose_encoding, image_size_hw=None, # e.g., (256, 512) min_focal_length=0.1, max_focal_lengt
benchmark/models/vgg_ttt/vggttt/nets/vggt/utils/pose_enc.py:42
↓ 1 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics.
benchmark/models/depth_anything_3/model/utils/transform.py:41
↓ 1 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics. This function performs the inverse operation of extri_intri_to_pose_encoding,
benchmark/models/fastvggt/utils/pose_enc.py:62
↓ 1 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics. This function performs the inverse operation of extri_intri_to_pose_encoding,
benchmark/models/r3/R3/utils/pose_enc.py:78
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/worldmirror_root/src/models/utils/grid.py:4
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/streamvggt/heads/utils.py:5
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/vggt/heads/utils.py:11
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/stream3r/models/components/heads/utils.py:11
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/lingbot_map/heads/utils.py:11
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/vggt_omega/models/heads/utils.py:10
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/omnivggt/heads/utils.py:11
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/page4d/heads/utils.py:11
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/fastvggt/heads/utils.py:11
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/scal3r/utils/vggt/heads/utils.py:10
↓ 1 callersFunctionposition_grid_to_embed
Convert 2D position grid (HxWx2) to sinusoidal embeddings (HxWxC) Args: pos_grid: Tensor of shape (H, W, 2) containing 2D coordinate
benchmark/models/zipmap/zipmap/heads/utils.py:7
↓ 1 callersFunctionpostprocess
extract 3D points/confidence from prediction head output
benchmark/models/dust3r_root/dust3r/heads/postprocess.py:10
↓ 1 callersFunctionpostprocess
(out, depth_mode, conf_mode, desc_dim=None, desc_mode='norm', two_confs=False, desc_conf_mode=None)
benchmark/models/mast3r_root/mast3r/catmlp_dpt_head.py:27
↓ 1 callersFunctionpostprocess
extract 3D points/confidence from prediction head output
benchmark/models/mast3r_root/dust3r/heads/postprocess.py:10
↓ 1 callersFunctionpostprocess_model_outputs_for_inference
Post-process raw model outputs by copying raw outputs and adding essential derived fields. This function simplifies the raw model outputs by
benchmark/models/mapanything/utils/inference.py:295
↓ 1 callersFunctionpredict_tracks_in_chunks
Process a list of query points to avoid memory issues. Args: track_predictor (object): The track predictor object used for predictin
benchmark/models/page4d/dependency/vggsfm_utils.py:255
↓ 1 callersMethodprepare
Prepare the model for data type conversion
benchmark/models/amb3r_root/amb3r/model.py:36
↓ 1 callersMethodprepare
Args: images (torch.Tensor): Input images with shape [B, S, 3, H, W], in range [0, 1]. B: batch size, S: sequence
benchmark/models/scal3r/utils/vggt/models/aggregator.py:559
↓ 1 callersMethodprepare
Data preparation stage(not counted in inference timing): Write images as PNGs to a temporary directory, build the args dotdict, and call scal
benchmark/evaluation/model_adapters/scal3r_adapter.py:170
↓ 1 callersMethodprepare
Optional: data preparation stage. Called by the benchmark before predict(), NOT counted in inference time. Default is a no-op. Use ca
benchmark/evaluation/model_adapters/base_adapter.py:61
↓ 1 callersFunctionprepare_canonical_data
(imgs, tmp_pairs, subsample, order_imgs=False, min_conf_thr=0, cache_path=None, dev
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:672
↓ 1 callersMethodprepare_cls_token
(self, B, S)
benchmark/models/depth_anything_3/model/dinov2/vision_transformer.py:256
↓ 1 callersMethodprepare_cls_token
(self, B, S)
benchmark/models/r3/depth_anything_3/model/dinov2/vision_transformer.py:512
↓ 1 callersMethodprepare_contexts
(self, views, cond_flags, is_inference)
benchmark/models/worldmirror_root/src/models/models/worldmirror.py:282
↓ 1 callersFunctionprepare_image_views
Load images and convert them to R3 view dictionaries.
benchmark/models/r3/R3/utils/input_io.py:169
↓ 1 callersMethodprepare_tokens_with_masks
(self, x, masks=None, cls_token=None, **kwargs)
benchmark/models/depth_anything_3/model/dinov2/vision_transformer.py:261
↓ 1 callersMethodprepare_tokens_with_masks
(self, x, masks=None, cls_token=None, **kwargs)
benchmark/models/r3/depth_anything_3/model/dinov2/vision_transformer.py:517
↓ 1 callersFunctionpreprocess_image_path
(path: str, dataset_cfg: dotdict, target_h: int, target_w: int)
benchmark/models/scal3r/utils/image_utils.py:293
↓ 1 callersFunctionpreprocess_input_views_for_inference
Pre-process input views to match the expected internal input format. The following steps are performed: 1. Convert intrinsics to ray dir
benchmark/models/mapanything/utils/inference.py:203
↓ 1 callersMethodpreset_focal
(self, known_focals, msk=None)
benchmark/models/dust3r_root/dust3r/cloud_opt/modular_optimizer.py:58
↓ 1 callersMethodpreset_focal
(self, known_focals, msk=None)
benchmark/models/mast3r_root/dust3r/cloud_opt/modular_optimizer.py:58
↓ 1 callersMethodpreset_principal_point
(self, known_pp, msk=None)
benchmark/models/dust3r_root/dust3r/cloud_opt/modular_optimizer.py:64
↓ 1 callersMethodpreset_principal_point
(self, known_pp, msk=None)
benchmark/models/mast3r_root/dust3r/cloud_opt/modular_optimizer.py:64
↓ 1 callersFunctionprocrustes_alignment
Procrustes similarity-transform alignment: find optimal s, R, t such that gt ≈ s * R @ pred + t. Aligns predicted poses to GT poses (based on cam
benchmark/evaluation/alignment.py:61
↓ 1 callersFunctionproj3d
(inv_K, pixels, z)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:507
↓ 1 callersFunctionproject_3D_points
Transforms 3D points to 2D using extrinsic and intrinsic parameters. Args: points3D (torch.Tensor): 3D points of shape Px3. e
benchmark/models/page4d/dependency/projection.py:105
↓ 1 callersFunctionproject_3D_points
Transforms 3D points to 2D using extrinsic and intrinsic parameters. Args: points3D (torch.Tensor): 3D points of shape Px3. e
benchmark/models/zipmap/zipmap/dependency/projection.py:101
↓ 1 callersFunctionproject_to_so3_strict
(M: torch.Tensor)
benchmark/models/depth_anything_3/utils/sh_helpers.py:27
↓ 1 callersFunctionproject_to_so3_strict
(M: torch.Tensor)
benchmark/models/r3/depth_anything_3/utils/sh_helpers.py:27
↓ 1 callersFunctionprojective_transform
map points from ii->jj
benchmark/models/lingbot_map/utils/geometry.py:362
↓ 1 callersFunctionprope_dot_product_attention
Similar to torch.nn.functional.scaled_dot_product_attention, but applies PRoPE-style positional encoding. Currently, we assume that the seque
benchmark/models/loger/models/layers/prope.py:182
↓ 1 callersFunctionprope_dot_product_attention
Similar to torch.nn.functional.scaled_dot_product_attention, but applies PRoPE-style positional encoding. Currently, we assume that the seque
benchmark/models/pi3/models/layers/prope.py:182
↓ 1 callersMethodprune_gs
Prune Gaussian splats by merging those in the same voxel. Args: splats: Dictionary containing Gaussian parameter
benchmark/models/worldmirror_root/src/models/models/rasterization.py:318
↓ 1 callersMethodpypose_sim3_to_numpy
(self, sim3)
benchmark/models/scal3r/utils/loop/optimizer.py:36
↓ 1 callersFunctionql_decomposition
(A)
benchmark/models/depth_anything_3/utils/ray_utils.py:97
↓ 1 callersFunctionql_decomposition
(A)
benchmark/models/r3/depth_anything_3/utils/ray_utils.py:97
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/streamvggt/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/vggt/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/vgg_ttt/vggttt/nets/vggt/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/stream3r/models/components/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/vggt_omega/utils/rotation.py:13
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/omnivggt/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/page4d/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/fastvggt/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/r3/R3/utils/rotation.py:14
↓ 1 callersFunctionquat_to_mat
(quaternions: torch.Tensor)
benchmark/models/scal3r/utils/cam_utils.py:150
↓ 1 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/zipmap/zipmap/utils/rotation.py:9
↓ 1 callersFunctionquaternion_inverse
Compute the inverse of a quaternion. Args: - quat: 4 or Bx4 torch tensor (unit quaternions and notation is (x, y, z, w)) Return
benchmark/models/mapanything/utils/geometry.py:745
↓ 1 callersFunctionquaternion_multiply
Multiply two quaternions. Args: - q1: 4 or Bx4 torch tensor (unit quaternions and notation is (x, y, z, w)) - q2: 4 or Bx4 t
benchmark/models/mapanything/utils/geometry.py:775
↓ 1 callersFunctionquaternion_to_matrix
Convert rotations given as quaternions to rotation matrices. Args: quaternions: (N, 4) tensor with quaternions Returns:
benchmark/models/amb3r_root/amb3r/tools/pose_interp.py:177
↓ 1 callersFunctionqvec2rotmat
(qvec)
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:508
↓ 1 callersMethodqvec2rotmat
(self)
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:51
↓ 1 callersFunctionransac_find_homography_weighted_fast_batch
Batch version of RANSAC weighted Homography estimation (supports batch). Input: src_pts: (B, N, 2) dst_pts: (B, N, 2)
benchmark/models/depth_anything_3/utils/ray_utils.py:313
↓ 1 callersFunctionransac_find_homography_weighted_fast_batch
Batch version of RANSAC weighted Homography estimation (supports batch). Input: src_pts: (B, N, 2) dst_pts: (B, N, 2)
benchmark/models/r3/depth_anything_3/utils/ray_utils.py:313
↓ 1 callersMethodrasterize_batches
(self, means, quats, scales, opacities, colors, viewmats, Ks, width, height, **kwargs)
benchmark/models/worldmirror_root/src/models/models/rasterization.py:76
↓ 1 callersFunctionreadPFM
(file)
benchmark/models/amb3r_root/amb3r/datasets/dtu.py:14
↓ 1 callersFunctionread_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:130
↓ 1 callersFunctionread_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:100
↓ 1 callersFunctionread_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:239
↓ 1 callersFunctionread_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:199
↓ 1 callersFunctionread_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:378
↓ 1 callersFunctionread_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:346
↓ 1 callersFunctionread_requirements
()
benchmark/models/r3/setup.py:6
↓ 1 callersMethodread_scene
(self, data_root, scene_path, frame_indices)
benchmark/datasets/data_readers.py:219
↓ 1 callersFunctionrecompose_se3_pose
Recompose (N, 3, 3) rotation matrices and (N, 3) translation vectors into (N, 4, 4) SE(3) poses. Args: R: (N, 3, 3) rotation mat
benchmark/models/amb3r_root/amb3r/tools/pose_interp.py:18
↓ 1 callersFunctionref_pytorch_swiglu_bwd_bwd_fused
In previous fwd pass: dx0 = lr0 * dh * x2 * sigma * (1 + x0 * (1 - sigma)) dx2 = lr2 * dh * silu(x0) hidden_lr1 = lr1 * x2 * silu(x0)
benchmark/models/zipmap/zipmap/layers/lact_with_act_ckpt_plain.py:27
↓ 1 callersFunctionref_pytorch_swiglu_bwd_bwd_fused
In previous fwd pass: dx0 = lr0 * dh * x2 * sigma * (1 + x0 * (1 - sigma)) dx2 = lr2 * dh * silu(x0) hidden_lr1 = lr1 * x2 * silu(x0)
benchmark/models/zipmap/zipmap/layers/lact_with_act_ckpt.py:27
← previousnext →2,601–2,700 of 5,295, ranked by callers