MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 3 callersMethodsequential_to_absolute_poses
(self, sequential_transforms: List[Tuple[float, np.ndarray, np.ndarray]])
benchmark/models/scal3r/utils/loop/optimizer.py:44
↓ 3 callersMethodshow
(self, point_size=2)
benchmark/models/dust3r_root/dust3r/viz.py:208
↓ 3 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/scal3r/utils/vggt/models/aggregator.py:725
↓ 3 callersFunctionstore_agg_state
(state: dotdict, args, block_index: int)
benchmark/models/scal3r/utils/offload_utils.py:119
↓ 3 callersFunctionto_cpu
(x)
benchmark/models/dust3r_root/dust3r/utils/device.py:43
↓ 3 callersFunctionto_numpy
Convert tensor to numpy array and validate shape.
benchmark/models/mapanything/utils/image.py:535
↓ 3 callersMethodto_pil
(self)
benchmark/utils/cropping.py:54
↓ 3 callersMethodto_pil
Convert ImageList back to PIL Image(s). Returns: PIL.Image.Image or tuple: Single PIL Image if list contains one image,
benchmark/models/mapanything/utils/cropping.py:50
↓ 3 callersFunctionto_plain_dict
(value: Any)
benchmark/models/scal3r/utils/base_utils.py:55
↓ 3 callersFunctiontodevice
Transfer some variables to another device (i.e. GPU, CPU:torch, CPU:numpy). batch: list, tuple, dict of tensors or other things device: pytor
benchmark/models/stream3r/dust3r/utils/device.py:17
↓ 3 callersFunctiontodevice
Transfer some variables to another device (i.e. GPU, CPU:torch, CPU:numpy). batch: list, tuple, dict of tensors or other things device: pyto
benchmark/models/omnivggt/utils/device.py:11
↓ 3 callersFunctiontodevice
Transfer some variables to another device (i.e. GPU, CPU:torch, CPU:numpy). batch: list, tuple, dict of tensors or other things device: pyto
benchmark/models/dust3r_root/dust3r/utils/device.py:11
↓ 3 callersFunctionuse_streaming_state
(args)
benchmark/models/scal3r/utils/offload_utils.py:103
↓ 3 callersFunctionxy_grid
Output a (H,W,2) array of int32 with output[j,i,0] = i + origin[0] output[j,i,1] = j + origin[1]
benchmark/models/dust3r_root/dust3r/utils/geometry.py:15
↓ 3 callersFunctionxy_grid
Output a (H,W,2) array of int32 with output[j,i,0] = i + origin[0] output[j,i,1] = j + origin[1]
benchmark/models/mast3r_root/dust3r/utils/geometry.py:15
↓ 3 callersFunctionzeropower_via_newtonschulz5
modified from https://github.com/MoonshotAI/Moonlight/blob/master/examples/toy_train.py#L49 Major change: G is [b, d, d] rather than [d, d]
benchmark/models/loger/models/ttt.py:35
↓ 3 callersFunctionzeropower_via_newtonschulz5
Newton-Schulz orthogonalisation. Args: G: [b, d, d] input matrices to orthogonalise. steps: number of Newton-Schulz iterations.
benchmark/models/vgg_ttt/vggttt/nets/ttt.py:56
↓ 2 callersFunctionSum
(*losses_and_masks)
benchmark/models/mast3r_root/dust3r/losses.py:16
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:34
↓ 2 callersMethod__init__
(self, patch_size, dec_embed_dim, output_dim=3,)
benchmark/models/loger/models/layers/transformer_head.py:64
↓ 2 callersMethod__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
benchmark/models/loger/models/layers/attention.py:94
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/streamvggt/heads/dpt_head.py:27
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/vggt/heads/dpt_head.py:43
↓ 2 callersMethod__init__
(self)
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:65
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/dpt_head.py:47
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/stream3r/models/components/heads/dpt_head.py:43
↓ 2 callersMethod__init__
Initializes the position generator with an empty cache.
benchmark/models/lingbot_map/layers/rope.py:37
↓ 2 callersMethod__init__
( self, dim_in: int = 2048, trunk_depth: int = 4, pose_encoding_type: str = "a
benchmark/models/lingbot_map/heads/camera_head.py:30
↓ 2 callersMethod__init__
( self, dim_in: int, *, patch_size: int = 14, output_dim: int = 1,
benchmark/models/depth_anything_3/model/dpt.py:42
↓ 2 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
benchmark/models/depth_anything_3/model/utils/attention.py:86
↓ 2 callersMethod__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
benchmark/models/vggt_omega/models/layers/attention.py:51
↓ 2 callersMethod__init__
( self, dim_in: int = 2048, patch_size: int = 16, features: int = 256,
benchmark/models/vggt_omega/models/heads/dense_head.py:22
↓ 2 callersMethod__init__
(self, in_channels=1024, mid_channels=1024, out_channels=1024)
benchmark/models/amb3r_root/amb3r/blocks.py:25
↓ 2 callersMethod__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
benchmark/models/omnivggt/layers/block.py:28
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/omnivggt/heads/dpt_head.py:43
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/page4d/heads/dpt_head.py:43
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/fastvggt/heads/dpt_head.py:43
↓ 2 callersMethod__init__
( self, dim_in: int, *, patch_size: int = 14, output_dim: int = 1,
benchmark/models/r3/depth_anything_3/model/dpt.py:42
↓ 2 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
benchmark/models/r3/depth_anything_3/model/utils/attention.py:86
↓ 2 callersMethod__init__
Initializes the position generator with an empty cache.
benchmark/models/r3/depth_anything_3/model/dinov2/layers/rope.py:34
↓ 2 callersMethod__init__
(self, patch_size, dec_embed_dim, output_dim=3,)
benchmark/models/pi3/models/layers/transformer_head.py:64
↓ 2 callersMethod__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
benchmark/models/pi3/models/layers/attention.py:37
↓ 2 callersMethod__init__
Initializes the position generator with an empty cache.
benchmark/models/scal3r/utils/vggt/layers/rope.py:33
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/scal3r/utils/vggt/heads/dpt_head.py:41
↓ 2 callersMethod__init__
( self, dim_in: int, patch_size: int = 14, output_dim: int = 4, activa
benchmark/models/zipmap/zipmap/heads/dpt_head_vggt_legacy.py:41
↓ 2 callersMethod__init__
(self, idim, mlp_hidden_dim, mlp_odim, conv_inner_dim, odim, patch_size, subpatch=2, **kw)
benchmark/models/mast3r_root/mast3r/catmlp_dpt_head.py:120
↓ 2 callersFunction_activate_r3_imports
Make R3's vendored packages win over benchmark/models/depth_anything_3.
benchmark/evaluation/model_adapters/r3_adapter.py:41
↓ 2 callersMethod_aggregate_rel_confidence_logits
Build the compatibility scalar confidence from split logits.
benchmark/models/r3/depth_anything_3/model/cam_dec.py:105
↓ 2 callersMethod_align_to_input_extrinsics_intrinsics
Align depth map to input extrinsics
benchmark/models/depth_anything_3/api.py:341
↓ 2 callersFunction_amb3r_context
Temporarily manage sys.path and sys.modules, isolate amb3r dependencies such as vggt/dust3r/croco. amb3r dependency chain: amb3r_root/amb3r
benchmark/evaluation/model_adapters/amb3r_adapter.py:34
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/worldmirror_root/src/models/layers/rope.py:127
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/streamvggt/layers/rope.py:117
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/vggt/layers/rope.py:133
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/rope.py:133
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/stream3r/models/components/layers/rope.py:133
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/lingbot_map/layers/rope.py:135
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/depth_anything_3/model/dinov2/layers/rope.py:134
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/omnivggt/layers/rope.py:133
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/page4d/layers/rope.py:133
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/fastvggt/layers/rope.py:139
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/r3/depth_anything_3/model/dinov2/layers/rope.py:134
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/scal3r/utils/vggt/layers/rope.py:131
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
benchmark/models/zipmap/zipmap/layers/rope.py:126
↓ 2 callersMethod_apply_inverse_log_transform
Apply inverse logarithm transform: sign(y) * (exp(|y|) - 1) Args: input_tensor: Input tensor
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:346
↓ 2 callersMethod_apply_metric_scale_correction
Rescale accumulated online pose state after multi-frame metric bootstrap.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:768
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:253
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/streamvggt/heads/dpt_head.py:242
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/vggt/heads/dpt_head.py:249
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/dpt_head.py:276
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/stream3r/models/components/heads/dpt_head.py:262
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/lingbot_map/heads/dpt_head.py:252
↓ 2 callersMethod_apply_pos_embed
(self, x: torch.Tensor, width: int, height: int, ratio: float = 0.1)
benchmark/models/vggt_omega/models/heads/dense_head.py:160
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/omnivggt/heads/dpt_head.py:262
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/page4d/heads/dpt_head.py:249
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/fastvggt/heads/dpt_head.py:297
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/scal3r/utils/vggt/heads/dpt_head.py:279
↓ 2 callersMethod_apply_pos_embed
Apply positional embedding to tensor x.
benchmark/models/zipmap/zipmap/heads/dpt_head_vggt_legacy.py:259
↓ 2 callersFunction_apply_sim3_to_poses
(poses, r, t, s)
benchmark/models/depth_anything_3/utils/pose_align.py:92
↓ 2 callersFunction_apply_sim3_to_poses
(poses, r, t, s)
benchmark/models/r3/depth_anything_3/utils/pose_align.py:92
↓ 2 callersFunction_build_pcd
Rebuild point cloud geometry from current state.
benchmark/models/amb3r_root/amb3r/tools/vis.py:87
↓ 2 callersFunction_build_pycolmap_intri
Helper function to get camera parameters based on camera type. Args: fidx: Frame index intrinsics: Camera intrinsic paramete
benchmark/models/page4d/dependency/np_to_pycolmap.py:291
↓ 2 callersFunction_build_pycolmap_intri
Helper function to get camera parameters based on camera type. Args: fidx: Frame index intrinsics: Camera intrinsic paramete
benchmark/models/zipmap/zipmap/dependency/np_to_pycolmap.py:289
↓ 2 callersMethod_build_result
Build the result dict from combined outputs. Args: c2w: (N, 4, 4) cam2world float64 points: (N, H, W, 3) world points
benchmark/evaluation/model_adapters/pi_long_adapter.py:240
↓ 2 callersFunction_c2w_to_se3_list
(N, 3, 4) c2w -> list of (4, 4) SE3 numpy matrices.
benchmark/evaluation/metrics.py:633
↓ 2 callersFunction_c2w_to_viser_pose
Convert OpenCV c2w (4x4 or 3x4) to a Viser camera pose.
benchmark/models/r3/view.py:314
↓ 2 callersFunction_camera_color
Generate a unique color for the i-th camera (uint8 RGB).
benchmark/utils/visualization.py:25
↓ 2 callersFunction_camera_world_axes
Return camera-local movement axes in world coordinates.
benchmark/models/r3/view.py:1013
↓ 2 callersFunction_category_root
(args, category: str)
benchmark/models/scal3r/utils/offload_utils.py:24
↓ 2 callersMethod_chunked_conv_head
(self, head, feat, patch_h, patch_w, chunk_size=64)
benchmark/models/pi3/models/pi3x.py:385
↓ 2 callersFunction_cleanup_old_tasks
Clean up old completed/failed tasks to prevent memory buildup.
benchmark/models/r3/depth_anything_3/services/backend.py:392
↓ 2 callersFunction_clear_scene
()
benchmark/models/r3/view.py:539
↓ 2 callersFunction_compute_flow_magnitude
Compute mean optical flow magnitude induced by camera motion. Projects current frame pixels into the last keyframe camera using the current d
benchmark/models/lingbot_map/models/gct_stream_window.py:29
↓ 2 callersFunction_compute_offset
(base: int, overlay: int, align: Alignment)
benchmark/models/depth_anything_3/utils/layout_helpers.py:77
↓ 2 callersFunction_compute_offset
(base: int, overlay: int, align: Alignment)
benchmark/models/r3/depth_anything_3/utils/layout_helpers.py:77
↓ 2 callersMethod_compute_online_frame_post_score
( self, rel_pose_conf, rel_pose_mask, current_idx: int )
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:317
↓ 2 callersMethod_compute_qkv_lr_impl
Compute Q, K, V and learning rates for input x. Returns: Tuple of (q, k, v, lr0, lr1, lr2) all appropriately shaped
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:152
↓ 2 callersMethod_compute_resolution
(self, peek_image_path=None)
benchmark/datasets/data_readers.py:179
↓ 2 callersFunction_compute_trajectory_metrics_numpy
numpy fallback (used when evo is not installed).
benchmark/evaluation/metrics.py:727
↓ 2 callersMethod_convert_to_prediction
Convert raw model output to Prediction object.
benchmark/models/depth_anything_3/api.py:391
↓ 2 callersMethod_create_online_state
(self, batch_size: int)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:80
← previousnext →501–600 of 5,295, ranked by callers