MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 2 callersFunctionimport_item
Import a python item. Example: import_item("path.to.file", "MyClass") -> MyClass
benchmark/models/depth_anything_3/cfg.py:101
↓ 2 callersFunctionimport_item
Import a python item. Example: import_item("path.to.file", "MyClass") -> MyClass
benchmark/models/r3/depth_anything_3/cfg.py:105
↓ 2 callersFunctioninference
(pairs, model, device, batch_size=8, verbose=True)
benchmark/models/dust3r_root/dust3r/inference.py:56
↓ 2 callersMethodinference
Run inference on input images. Args: image: List of input images (numpy arrays, PIL Images, or file paths) e
benchmark/models/r3/depth_anything_3/api.py:140
↓ 2 callersMethodinference_streaming
Streaming inference: process scale frames first, then frame-by-frame. This method enables efficient online inference by: 1.
benchmark/models/lingbot_map/models/gct_stream.py:350
↓ 2 callersMethodinit
Initialize parts of decoder that are dependent on dimension of encoder tokens. Should be called when setting up MultiMAE. :p
benchmark/models/dust3r_root/croco/models/dpt_block.py:341
↓ 2 callersMethodinit
Initialize parts of decoder that are dependent on dimension of encoder tokens. Should be called when setting up MultiMAE. :p
benchmark/models/mast3r_root/croco/models/dpt_block.py:341
↓ 2 callersFunctioninitialize_feature_extractors
Initialize feature extractors that can be reused based on a method string. Args: max_query_num: Maximum number of keypoints to extra
benchmark/models/page4d/dependency/vggsfm_utils.py:189
↓ 2 callersFunctioninterleave
(tensor1, tensor2)
benchmark/models/dust3r_root/dust3r/utils/misc.py:48
↓ 2 callersFunctioninterpolate_extrinsics
Interpolate extrinsics by rotating around their "focus point," which is the least-squares intersection between the look vectors of the initial and
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:358
↓ 2 callersFunctioninterpolate_extrinsics
Interpolate extrinsics by rotating around their "focus point," which is the least-squares intersection between the look vectors of the initial and
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:358
↓ 2 callersFunctioninterpolate_intrinsics
( initial: torch.Tensor, # "*#batch 3 3" final: torch.Tensor, # "*#batch 3 3" t: torch.Tensor,
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:158
↓ 2 callersFunctioninterpolate_intrinsics
( initial: torch.Tensor, # "*#batch 3 3" final: torch.Tensor, # "*#batch 3 3" t: torch.Tensor,
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:158
↓ 2 callersFunctioninvalid_to_zeros
(arr, valid_mask, ndim=999)
benchmark/models/stream3r/dust3r/utils/misc.py:125
↓ 2 callersFunctioninvalid_to_zeros
(arr, valid_mask, ndim=999)
benchmark/models/dust3r_root/dust3r/utils/misc.py:112
↓ 2 callersFunctioninvalid_to_zeros
Replace invalid values in an array with zeros based on a validity mask. Parameters: - arr: Input array (typically a PyTorch tensor)
benchmark/models/mapanything/utils/misc.py:90
↓ 2 callersFunctioninvalid_to_zeros
(arr, valid_mask, ndim=999)
benchmark/models/mast3r_root/dust3r/utils/misc.py:112
↓ 2 callersFunctionis_dist_avail_and_initialized
()
benchmark/models/vgg_ttt/vggttt/utils/dist.py:13
↓ 2 callersFunctionis_symmetrized
(gt1, gt2)
benchmark/models/mast3r_root/dust3r/utils/misc.py:32
↓ 2 callersFunctioniterative_undistortion
Iteratively undistort the normalized tracks using the given distortion parameters. Args: params (torch.Tensor or numpy.ndarray): Dis
benchmark/models/zipmap/zipmap/dependency/distortion.py:47
↓ 2 callersFunctionlistify
(elems)
benchmark/models/stream3r/dust3r/utils/device.py:94
↓ 2 callersFunctionlistify
(elems)
benchmark/models/omnivggt/utils/device.py:75
↓ 2 callersFunctionlistify
(elems)
benchmark/models/dust3r_root/dust3r/utils/device.py:75
↓ 2 callersFunctionlistify
(elems)
benchmark/models/mast3r_root/dust3r/utils/device.py:75
↓ 2 callersFunctionload_config
(config_path: str | PathLike[str])
benchmark/models/scal3r/engine/config.py:49
↓ 2 callersFunctionload_config
Load a YAML config file and return a dict.
benchmark/evaluation/run_benchmark.py:101
↓ 2 callersFunctionload_corres
(path_corres, device, min_conf_thr)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:755
↓ 2 callersFunctionload_data
(dataset_cfg: dotdict, args, recorder: StageRecorder | None = None)
benchmark/models/scal3r/pipelines/backend.py:56
↓ 2 callersFunctionload_image_from_bytes
( buffer: np.ndarray | memoryview | bytes | BytesIO | torch.Tensor, ratio: float = 1.0, normalize:
benchmark/models/scal3r/utils/data_utils.py:71
↓ 2 callersMethodload_model
Load model if not already loaded.
benchmark/models/r3/depth_anything_3/services/backend.py:109
↓ 2 callersFunctionload_rgb_from_path
(path: str)
benchmark/models/scal3r/utils/image_utils.py:154
↓ 2 callersFunctionlocate_block
(target: int)
benchmark/models/scal3r/utils/loop/loop_utils.py:32
↓ 2 callersFunctionlog_online_pose_edges
Persist direct relative edges so fallback can reuse predicted poses.
benchmark/models/r3/R3/models/online/fallback.py:144
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/worldmirror_root/src/models/layers/patch_embed.py:14
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/loger/models/dinov2/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/streamvggt/layers/patch_embed.py:7
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/vggt/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/stream3r/models/components/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/lingbot_map/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/depth_anything_3/model/dinov2/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/vggt_omega/models/layers/patch_embed.py:18
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/omnivggt/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/page4d/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/fastvggt/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/r3/depth_anything_3/model/dinov2/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/pi3/models/dinov2/layers/patch_embed.py:16
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/scal3r/utils/vggt/layers/patch_embed.py:15
↓ 2 callersFunctionmake_2tuple
(x)
benchmark/models/zipmap/zipmap/layers/patch_embed.py:13
↓ 2 callersFunctionmake_pairs
(imgs, scene_graph='complete', prefilter=None, symmetrize=True)
benchmark/models/dust3r_root/dust3r/image_pairs.py:11
↓ 2 callersFunctionmake_q
()
benchmark/models/lingbot_map/layers/flashinfer_cache.py:601
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/streamvggt/heads/utils.py:30
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/vggt/heads/utils.py:36
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/utils.py:37
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/stream3r/models/components/heads/utils.py:36
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/lingbot_map/heads/utils.py:36
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. # noqa Args: - embed_dim: The embed
benchmark/models/depth_anything_3/model/utils/head_utils.py:123
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/vggt_omega/models/heads/utils.py:35
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/omnivggt/heads/utils.py:36
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/page4d/heads/utils.py:36
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/fastvggt/heads/utils.py:36
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. # noqa Args: - embed_dim: The embed
benchmark/models/r3/depth_anything_3/model/utils/head_utils.py:123
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/scal3r/utils/vggt/heads/utils.py:35
↓ 2 callersFunctionmake_sincos_pos_embed
This function generates a 1D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/zipmap/zipmap/heads/utils.py:32
↓ 2 callersFunctionmast3r_head_factory
build a prediction head for the decoder
benchmark/models/mast3r_root/mast3r/catmlp_dpt_head.py:208
↓ 2 callersFunctionmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
benchmark/models/stream3r/models/components/utils/rotation.py:47
↓ 2 callersFunctionmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
benchmark/models/depth_anything_3/model/utils/transform.py:100
↓ 2 callersFunctionmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
benchmark/models/r3/depth_anything_3/model/utils/transform.py:100
↓ 2 callersFunctionmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
benchmark/models/r3/R3/utils/rotation.py:47
↓ 2 callersFunctionmatrix_to_quaternion
Convert 3x3 rotation matrices to quaternions. Based on PyTorch3D implementation. Args: matrix: (N, 3, 3) rotation matrices
benchmark/models/amb3r_root/amb3r/tools/pose_interp.py:96
↓ 2 callersFunctionmerge_config_and_args
Use config file values as defaults; CLI args take precedence. Logic: for each argument, if the CLI explicitly passed it use the CLI value,
benchmark/evaluation/run_benchmark.py:109
↓ 2 callersFunctionmodulate
Modulate the input tensor using scaling and shifting parameters.
benchmark/models/lingbot_map/heads/camera_head.py:153
↓ 2 callersFunctionmultiple_of_16
(x)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:29
↓ 2 callersFunctionnormalize_config_name
(config_name: str)
benchmark/models/r3/R3/utils/config_resolve.py:17
↓ 2 callersMethodnormalize_depth
depth: [B, V, H, W, 1] mask: [B, V, H, W]
benchmark/models/omnivggt/models/omnivggt_aggregator.py:112
↓ 2 callersMethodnormalize_extrinsics
(self, extrinsics)
benchmark/models/omnivggt/models/omnivggt_aggregator.py:90
↓ 2 callersFunctionnormalize_pointcloud
renorm pointmaps pts1, pts2 with norm_mode
benchmark/models/dust3r_root/dust3r/utils/geometry.py:249
↓ 2 callersFunctionnormalized_view_plane_uv
UV with left-top corner as (-width / diagonal, -height / diagonal) and right-bottom corner as (width / diagonal, height / diagonal)
benchmark/models/loger/models/layers/conv_head.py:11
↓ 2 callersFunctionnormalized_view_plane_uv
UV with left-top corner as (-width / diagonal, -height / diagonal) and right-bottom corner as (width / diagonal, height / diagonal)
benchmark/models/pi3/models/layers/conv_head.py:11
↓ 2 callersMethodnum_groups_active
(self)
benchmark/models/scal3r/utils/dist_utils.py:8
↓ 2 callersMethodnumpy_to_pypose_sim3
(self, scale: float, rotation: np.ndarray, translation: np.ndarray)
benchmark/models/scal3r/utils/loop/optimizer.py:31
↓ 2 callersMethodoptimize
( self, sequential_transforms: List[Tuple[float, np.ndarray, np.ndarray]], loop_constr
benchmark/models/scal3r/utils/loop/optimizer.py:131
↓ 2 callersFunctionoptimize_loop
(loss_func, lr_base, niter, pix_loss, lr_end=0)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:431
↓ 2 callersFunctionoverlap
(window_a: tuple, window_b: tuple)
benchmark/models/scal3r/utils/loop/loop_utils.py:50
↓ 2 callersFunctionpersist_dpt_state
(temp_output: dict, dpt_state_refs: dict, args, block_index: int)
benchmark/models/scal3r/utils/offload_utils.py:131
↓ 2 callersFunctionpoint_map_to_normal
Convert 3D point map to surface normal vectors using cross products. Computes normals by taking cross products of neighboring point diff
benchmark/models/amb3r_root/amb3r/loss.py:613
↓ 2 callersFunctionpoints_in_frustum_check
Check if points are inside frustums. Args: frustums (torch.Tensor): Bx8 batch of frustum points. points (torch.Tensor): BxNx
benchmark/models/mapanything/utils/wai/intersection_check.py:341
↓ 2 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/vgg_ttt/vggttt/nets/vggt/heads/utils.py:10
↓ 2 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/depth_anything_3/model/utils/head_utils.py:96
↓ 2 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/r3/depth_anything_3/model/utils/head_utils.py:96
↓ 2 callersFunctionpost_process
( raw: dotdict, batches: list, indices: list, args, n_blocks_loop: int = 0, alignment:
benchmark/models/scal3r/pipelines/backend.py:397
↓ 2 callersMethodprepare_qkv
Fused pre-attention ops for single-frame streaming (Phase 2). Computes q/k/v from x, applies q_norm/k_norm/RoPE, and converts to [tpf
benchmark/models/lingbot_map/layers/attention.py:431
↓ 2 callersMethodprepare_tokens_with_masks
(self, x: Tensor, masks=None)
benchmark/models/vggt_omega/models/layers/vision_transformer.py:196
↓ 2 callersFunctionprint_summary
Print a concise summary of the evaluation results.
benchmark/evaluation/report.py:254
↓ 2 callersMethodprocess_attention
(self, x, block, attn_type="global", pos=None, attn_mask=None)
benchmark/models/depth_anything_3/model/dinov2/vision_transformer.py:351
↓ 2 callersMethodprocess_attention
( self, x, block, attn_type="global", pos=None, temporal_pos=N
benchmark/models/r3/depth_anything_3/model/dinov2/vision_transformer.py:809
↓ 2 callersMethodprocess_images_to_fmaps
This function processes images for inference. Args: images (torch.Tensor): The images to be processed with shape S x 3 x
benchmark/models/page4d/dependency/vggsfm_tracker.py:106
↓ 2 callersFunctionprocess_point_cloud
Process point cloud data and return vertices and colors
benchmark/models/loger/utils/visual_util.py:267
↓ 2 callersFunctionprocess_video_frame
(frame_idx, cam_id_to_process="cam0")
benchmark/models/loger/utils/viser_utils.py:251
↓ 2 callersFunctionproj
pinhole camera projection
benchmark/models/lingbot_map/utils/geometry.py:548
← previousnext →1,001–1,100 of 5,295, ranked by callers