MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 2 callersFunctionproject_3D_points_np
NumPy clone of ``project_3D_points``. Parameters ---------- points3D : (N,3) world-space points. extrinsics : (B
benchmark/models/page4d/dependency/projection.py:50
↓ 2 callersFunctionproject_3D_points_np
NumPy clone of ``project_3D_points``. Parameters ---------- points3D : (N,3) world-space points. extrinsics : (B
benchmark/models/zipmap/zipmap/dependency/projection.py:46
↓ 2 callersFunctionprune_online_similarity_cache
Remove cached similarities for frames that were dropped from the active state.
benchmark/models/r3/R3/models/online/kv_cache.py:252
↓ 2 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/depth_anything_3/model/utils/transform.py:68
↓ 2 callersFunctionquat_to_mat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/r3/depth_anything_3/model/utils/transform.py:68
↓ 2 callersFunctionquat_to_rotmat
Quaternion Order: XYZW or say ijkr, scalar-last Convert rotations given as quaternions to rotation matrices. Args: quaternions:
benchmark/models/worldmirror_root/src/models/utils/rotation.py:8
↓ 2 callersMethodrasterize_splats
( self, means, quats, scales, opacities, colors, camto
benchmark/models/worldmirror_root/src/models/models/rasterization.py:37
↓ 2 callersFunctionread_model
(path, ext="")
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:474
↓ 2 callersFunctionrecover_pinhole_intrinsics_from_ray_directions
Recover pinhole camera intrinsics from ray directions, supporting both batched and non-batched inputs. Args: ray_directions: Tensor
benchmark/models/mapanything/utils/geometry.py:304
↓ 2 callersFunctionrefine_camera_sequence_from_rel_pose
Refine an existing absolute camera sequence using relative predictions.
benchmark/models/r3/R3/utils/pose_utils.py:876
↓ 2 callersFunctionreg_dense_depth
extract 3D points from prediction head output
benchmark/models/stream3r/dust3r/heads/postprocess.py:57
↓ 2 callersFunctionreg_dense_depth
extract 3D points from prediction head output
benchmark/models/mast3r_root/dust3r/heads/postprocess.py:22
↓ 2 callersFunctionregression_loss
Core regression loss function with confidence weighting and optional gradient loss. Computes: 1. gamma * ||pred - gt||^2 * conf - al
benchmark/models/amb3r_root/amb3r/loss.py:374
↓ 2 callersFunctionremove_payload
(payload)
benchmark/models/scal3r/utils/offload_utils.py:73
↓ 2 callersFunctionreorder_by_reference
Reorder views to place the selected reference view first. Args: x: Input tensor of shape (B, S, N, C) b_idx: Reference v
benchmark/models/depth_anything_3/model/reference_view_selector.py:115
↓ 2 callersMethodresidual
(self, Ginv, input_poses, dSloop, ii, jj, jacobian: bool = False)
benchmark/models/scal3r/utils/loop/optimizer.py:81
↓ 2 callersMethodresize_feat
Resize feature maps using bilinear interpolation. Params: - feat: input feature map of shape (B, T, H, W, C)
benchmark/models/amb3r_root/amb3r/model.py:75
↓ 2 callersFunctionresize_mask
(mask: torch.Tensor, size: Tuple[int, int])
benchmark/models/scal3r/utils/image_utils.py:173
↓ 2 callersFunctionresize_rgb
(image: torch.Tensor, size: Tuple[int, int])
benchmark/models/scal3r/utils/image_utils.py:160
↓ 2 callersFunctionresolve_fallback_bridge_rel_pose
Return the stored bridge relative edge for the pair or raise when absent. `fallback_edge_types` lets callers accept alternate edge types when the
benchmark/models/r3/R3/models/online/fallback.py:234
↓ 2 callersFunctionresolve_online_verbose
( online_verbose: Optional[bool], online_memory_verbose: Optional[bool], online_revisit_verbose: O
benchmark/models/r3/R3/models/online/revisit.py:8
↓ 2 callersFunctionrope_apply
(x: Tensor, sin: Tensor, cos: Tensor)
benchmark/models/vggt_omega/models/layers/attention.py:30
↓ 2 callersFunctionrotate_90_degree
( image: torch.Tensor, K: torch.Tensor, w2c: torch.Tensor, clockwise: bool = True, )
benchmark/models/scal3r/utils/image_utils.py:114
↓ 2 callersFunctionrotate_target_dim_to_last_axis
(x, target_dim=3)
benchmark/models/loger/utils/basic.py:136
↓ 2 callersFunctionrotation_angle_batch
(R1, R2)
benchmark/models/amb3r_root/amb3r/tools/pose_dist.py:21
↓ 2 callersFunctionrotmat_to_quat
Convert rotations given as rotation matrices to quaternions. Args: matrix: Rotation matrices as tensor of shape (..., 3, 3). Re
benchmark/models/worldmirror_root/src/models/utils/rotation.py:41
↓ 2 callersFunctionrun_online_sequence_pass
( wrapper, images, online_options, da3_kwargs, base_state=None, frame_ids=None, ou
benchmark/models/r3/R3/models/online/revisit.py:59
↓ 2 callersFunctionrun_suite
(suite_name: str, sizes: list[tuple[int, int]])
benchmark/models/depth_anything_3/utils/io/input_processor.py:436
↓ 2 callersFunctionrun_suite
(suite_name: str, sizes: list[tuple[int, int]])
benchmark/models/r3/depth_anything_3/utils/io/input_processor.py:436
↓ 2 callersFunctionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
benchmark/models/streamvggt/heads/track_modules/utils.py:186
↓ 2 callersFunctionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
benchmark/models/vggt/heads/track_modules/utils.py:193
↓ 2 callersFunctionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/utils.py:154
↓ 2 callersFunctionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
benchmark/models/page4d/heads/track_modules/utils.py:193
↓ 2 callersFunctionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
benchmark/models/page4d/dependency/track_modules/utils.py:186
↓ 2 callersFunctionsample_features4d
r"""Sample spatial features `sample_features4d(input, coords)` samples the spatial features :attr:`input` represented by a 4D tensor :math:`(
benchmark/models/fastvggt/heads/track_modules/utils.py:193
↓ 2 callersFunctionsave_scene_inputs
Save the scene's input images to inputs_dir/<scene_id>/. Each frame is exported as a PNG, with the filename containing the original frame_index f
benchmark/utils/visualization.py:344
↓ 2 callersFunctionse3_inverse
Computes the inverse of a batch of SE(3) matrices. T: Tensor of shape (B, 4, 4)
benchmark/models/loger/utils/geometry.py:34
↓ 2 callersFunctionse3_inverse
Computes the inverse of a batch of SE(3) matrices.
benchmark/models/pi3/utils/geometry.py:5
↓ 2 callersFunctionseed_dynamic_segment_anchor_frame_ids
Seed or refresh tracked anchor IDs for the active dynamic segment.
benchmark/models/r3/R3/models/online/kv_cache.py:52
↓ 2 callersFunctionsegment_sky
Segments sky from an image using an ONNX model. Thanks for the great model provided by https://github.com/xiongzhu666/Sky-Segmentation-and-Po
benchmark/models/loger/utils/visual_util.py:618
↓ 2 callersFunctionsegment_triangle_intersection_check
Check if segments (lines with starting and end point) intersect triangles in 3D using the Moller-Trumbore algorithm. Args: start
benchmark/models/mapanything/utils/wai/intersection_check.py:98
↓ 2 callersFunctionselout
(ar)
benchmark/models/stream3r/dust3r/utils/misc.py:93
↓ 2 callersFunctionselout
(ar)
benchmark/models/omnivggt/utils/misc.py:103
↓ 2 callersFunctionselout
(ar)
benchmark/models/dust3r_root/dust3r/utils/misc.py:82
↓ 2 callersFunctionselout
(ar)
benchmark/models/mast3r_root/dust3r/utils/misc.py:82
↓ 2 callersFunctionset_sky_regions_to_max_depth
Set sky regions to maximum depth and high confidence. Args: depth: Depth tensor depth_conf: Depth confidence tensor
benchmark/models/depth_anything_3/utils/alignment.py:136
↓ 2 callersFunctionset_sky_regions_to_max_depth
Set sky regions to maximum depth and high confidence. Args: depth: Depth tensor depth_conf: Depth confidence tensor
benchmark/models/r3/depth_anything_3/utils/alignment.py:136
↓ 2 callersMethodsetup
(self, croconet)
benchmark/models/dust3r_root/croco/models/head_downstream.py:36
↓ 2 callersMethodsetup
(self, croconet)
benchmark/models/mast3r_root/croco/models/head_downstream.py:36
↓ 2 callersFunctionshould_run_pointcloud_eval
Whether to run pointcloud evaluation for this scene. Returns True only when source_dataset is in POINTCLOUD_ELIGIBLE_DATASETS and view_densit
benchmark/evaluation/metrics.py:82
↓ 2 callersFunctionsilu_backprop
Backpropagation for the Swish (Silu) activation function Args: dy (torch.Tensor): (B, C, L), gradient of the outer loss wrt the y
benchmark/models/scal3r/utils/ttt_utils.py:71
↓ 2 callersFunctionslice_expand_and_flatten
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing: 1) Uses the first position (index=0) for the first frame onl
benchmark/models/vggt/models/aggregator.py:308
↓ 2 callersFunctionslice_expand_and_flatten
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing: 1) Uses the first position (index=0) for the first frame onl
benchmark/models/vgg_ttt/vggttt/nets/vggt/models/aggregator.py:375
↓ 2 callersFunctionslice_expand_and_flatten
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing: 1) Uses the first position (index=0) for the first frame onl
benchmark/models/stream3r/models/components/aggregator/streamaggregator.py:353
↓ 2 callersFunctionslice_expand_and_flatten
(token_tensor: torch.Tensor, batch_size: int, num_frames: int)
benchmark/models/vggt_omega/models/aggregator.py:246
↓ 2 callersFunctionslice_expand_and_flatten
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing: 1) Uses the first position (index=0) for the first frame onl
benchmark/models/page4d/models/aggregator.py:309
↓ 2 callersFunctionslice_expand_and_flatten
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing: 1) Uses the first position (index=0) for the first frame onl
benchmark/models/fastvggt/models/aggregator.py:474
↓ 2 callersFunctionslice_expand_and_flatten
Processes specialized tokens with shape (1, 2, X, C) for multi-frame processing: 1) Uses the first position (index=0) for the first frame onl
benchmark/models/zipmap/zipmap/models/aggregator_ttt.py:506
↓ 2 callersFunctionsliding_window_1d
Create a sliding window view of the input array along a specified axis. This function creates a memory-efficient view of the input array wit
benchmark/models/mapanything/utils/geometry.py:1783
↓ 2 callersFunctionsliding_window_2d
Create 2D sliding windows over the input array. Convenience function for creating 2D sliding windows, commonly used for image processing
benchmark/models/mapanything/utils/geometry.py:1868
↓ 2 callersFunctionsolve_linear_least_squares
(X, Y)
benchmark/models/pi3/utils/geometry.py:413
↓ 2 callersFunctionstart_server
Start the backend server.
benchmark/models/r3/depth_anything_3/services/backend.py:1371
↓ 2 callersFunctionsvd_orthogonalize
(matrix: torch.Tensor)
benchmark/models/scal3r/utils/cam_utils.py:170
↓ 2 callersFunctionswitch_tensor_order
Reorder tensors along a specific dimension according to the given order. Args: tensors: List of tensors to reorder order: Te
benchmark/models/page4d/dependency/vggsfm_utils.py:174
↓ 2 callersFunctionto_dot_dict
(value: Any)
benchmark/models/scal3r/utils/base_utils.py:45
↓ 2 callersMethodtransform_camera_vector
(self, camera_params, h, w)
benchmark/models/worldmirror_root/src/models/models/worldmirror.py:271
↓ 2 callersMethodtransform_frame
frame: (H,W,D) -> (H,W,3)
benchmark/models/depth_anything_3/utils/pca_utils.py:254
↓ 2 callersMethodtransform_frame
frame: (H,W,D) -> (H,W,3)
benchmark/models/r3/depth_anything_3/utils/pca_utils.py:254
↓ 2 callersFunctiontransform_points
Applies a 4x4 transformation to a set of points. Args: transformation (np.ndarray): Transformation matrix. points (np.ndarra
benchmark/models/loger/utils/visual_util.py:557
↓ 2 callersFunctiontransform_points_sim3
Sim(3) transform point cloud points: (N, 3) rot: (3, 3) trans: (3,) or (1, 3) scale: float inverse: Whether to do inverse tra
benchmark/models/depth_anything_3/utils/pose_align.py:264
↓ 2 callersFunctiontransform_points_sim3
Sim(3) transform point cloud points: (N, 3) rot: (3, 3) trans: (3,) or (1, 3) scale: float inverse: Whether to do inverse tra
benchmark/models/r3/depth_anything_3/utils/pose_align.py:264
↓ 2 callersFunctiontranspose_last_two_axes
for np < 2
benchmark/models/depth_anything_3/utils/geometry.py:62
↓ 2 callersFunctiontranspose_last_two_axes
for np < 2
benchmark/models/r3/depth_anything_3/utils/geometry.py:62
↓ 2 callersFunctiontranspose_to_landscape
Predict in the correct aspect-ratio, then transpose the result in landscape and stack everything back together.
benchmark/models/dust3r_root/dust3r/utils/misc.py:54
↓ 2 callersFunctiontransposed
(dic)
benchmark/models/stream3r/dust3r/utils/misc.py:112
↓ 2 callersFunctiontransposed
(dic)
benchmark/models/omnivggt/utils/misc.py:120
↓ 2 callersFunctiontransposed
(dic)
benchmark/models/dust3r_root/dust3r/utils/misc.py:99
↓ 2 callersFunctiontransposed
(dic)
benchmark/models/mast3r_root/dust3r/utils/misc.py:99
↓ 2 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, 1,
benchmark/models/streamvggt/heads/camera_head.py:100
↓ 2 callersFunctionuint8
(colors)
benchmark/models/dust3r_root/dust3r/viz.py:336
↓ 2 callersFunctionuint8
(colors)
benchmark/models/mast3r_root/dust3r/viz.py:336
↓ 2 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/depth_anything_3/utils/geometry.py:434
↓ 2 callersFunctionvisualize_scene
Save the GT and predicted point clouds for one scene as GLB files. GT visualization uses the unified visualize_gt(); prediction visualization
benchmark/utils/visualization.py:399
↓ 2 callersFunctionweighted_align_sim3_numba
Compute weighted Sim(3) transformation using Numba
benchmark/models/scal3r/utils/pgo/aligner.py:218
↓ 2 callersFunctionwrite_json_report
Write the report to a JSON file.
benchmark/evaluation/report.py:218
↓ 2 callersMethodwrite_kv
Copy a frame's K/V for one layer into its reserved page(s). k, v shape: (B=1, num_heads, tokens_per_frame, head_dim) — same as attention.py e
benchmark/models/r3/R3/models/online/flashinfer_backend.py:162
↓ 2 callersFunctionwrite_overall
Append the condensed overall report to output_dir/overall.json. overall.json is a list; each evaluation appends one record, making it easy to
benchmark/evaluation/report.py:226
↓ 1 callersFunctionSum
(*losses_and_masks)
benchmark/models/dust3r_root/dust3r/losses.py:16
↓ 1 callersMethod_TSDF_postprocess_or_not
(self, pts3d, depthmaps, confs, niter=1)
benchmark/models/mast3r_root/mast3r/cloud_opt/tsdf_optimizer.py:253
↓ 1 callersMethod_TSDF_query
TSDF query call: returns the weighted TSDF value for each query point [N, 3]
benchmark/models/mast3r_root/mast3r/cloud_opt/tsdf_optimizer.py:81
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/streamvggt/models/aggregator.py:148
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/vggt/models/aggregator.py:143
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/vgg_ttt/vggttt/nets/vggt/models/aggregator.py:167
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/stream3r/models/components/aggregator/streamaggregator.py:121
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/omnivggt/models/aggregator.py:150
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/page4d/models/aggregator.py:145
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/fastvggt/models/aggregator.py:169
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/scal3r/utils/vggt/models/aggregator.py:282
↓ 1 callersMethod__build_patch_embed__
Build the patch embed layer. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/zipmap/zipmap/models/aggregator_ttt.py:189
↓ 1 callersMethod__init__
Initializes the position generator with an empty cache.
benchmark/models/worldmirror_root/src/models/layers/rope.py:29
← previousnext →1,101–1,200 of 5,295, ranked by callers