Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ropedia/SpatialBench
/ functions
Functions
5,295 in github.com/Ropedia/SpatialBench
⨍
Functions
5,295
◇
Types & classes
758
↳
Endpoints
27
↓ 1 callers
Function
_camera_frustum_lines
( K: np.ndarray, ext_w2c: np.ndarray, W: int, H: int, scale: float )
benchmark/models/depth_anything_3/utils/export/glb.py:362
↓ 1 callers
Function
_camera_frustum_lines
( K: np.ndarray, ext_w2c: np.ndarray, W: int, H: int, scale: float )
benchmark/models/r3/depth_anything_3/utils/export/glb.py:362
↓ 1 callers
Function
_camera_to_w2c
(camera)
benchmark/models/scal3r/utils/cam_utils.py:54
↓ 1 callers
Method
_can_attempt_fallback
Enforce a minimum number of frames between fallback attempts.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:549
↓ 1 callers
Method
_check_backend_status
Check backend status
benchmark/models/r3/depth_anything_3/services/inference_service.py:170
↓ 1 callers
Method
_check_edges
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:130
↓ 1 callers
Method
_check_edges
(self)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:130
↓ 1 callers
Function
_choose_ply
(mesh_dir, preferred_token=None)
benchmark/evaluation/metrics.py:117
↓ 1 callers
Method
_clear_online_runtime_state
Drop the live online runtime tensors and frame metadata before a full replay.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:254
↓ 1 callers
Method
_clone_online_state
(self, state)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:84
↓ 1 callers
Method
_clone_online_state_without_kv
(self, state)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:90
↓ 1 callers
Function
_coerce_view_image
(view_img: Any)
benchmark/models/loger/pi3_adapter.py:220
↓ 1 callers
Function
_collect_camera_results
(processed, image_height: int, image_width: int, save_dpt: bool)
benchmark/models/scal3r/utils/result_utils.py:13
↓ 1 callers
Function
_collect_configs
Return ordered list of config yaml paths. whitelist: if given (list of str), use these paths in this order and skip auto-discovery.
benchmark/evaluation/bench_memory_curve.py:536
↓ 1 callers
Method
_compute_adaptive_minibatch_size
Compute adaptive minibatch size based on available PyTorch memory. Args: memory_safety_factor: Safety factor to avoid OO
benchmark/models/mapanything/models/mapanything/model.py:1292
↓ 1 callers
Function
_compute_alignment_transform_first_cam_glTF_center_by_points
Computes the transformation matrix to align the scene with glTF standards. This function calculates a 4x4 homogeneous matrix that centers the sce
benchmark/models/depth_anything_3/utils/export/glb.py:275
↓ 1 callers
Function
_compute_alignment_transform_first_cam_glTF_center_by_points
Computes the transformation matrix to align the scene with glTF standards. This function calculates a 4x4 homogeneous matrix that centers the sce
benchmark/models/r3/depth_anything_3/utils/export/glb.py:275
↓ 1 callers
Function
_compute_edge_mask
()
benchmark/models/amb3r_root/amb3r/tools/vis.py:142
↓ 1 callers
Method
_compute_freq
Pre-compute cos/sin tables for ranks in [0, seq_len-1]. Args: dim: Feature dimension (must be even). seq_len: Number
benchmark/models/scal3r/utils/vggt/layers/rope.py:208
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/worldmirror_root/src/models/layers/rope.py:80
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/streamvggt/layers/rope.py:70
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/vggt/layers/rope.py:86
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/rope.py:86
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/stream3r/models/components/layers/rope.py:86
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/lingbot_map/layers/rope.py:88
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/depth_anything_3/model/dinov2/layers/rope.py:87
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/omnivggt/layers/rope.py:86
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/page4d/layers/rope.py:86
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/fastvggt/layers/rope.py:92
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/r3/depth_anything_3/model/dinov2/layers/rope.py:87
↓ 1 callers
Method
_compute_frequency_components
Builds cached cosine and sine tables for temporal rotary embeddings.
benchmark/models/r3/depth_anything_3/model/dinov2/layers/rope.py:213
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/scal3r/utils/vggt/layers/rope.py:84
↓ 1 callers
Method
_compute_frequency_components
Computes frequency components for rotary embeddings. Args: dim: Feature dimension (must be even). seq_len: Maximum se
benchmark/models/zipmap/zipmap/layers/rope.py:79
↓ 1 callers
Function
_compute_frustum_intersection_matrix
Compute frustum intersection matrix for all view pairs. Args: intrinsics: List of (B, 3, 3) intrinsics per view camera_poses
benchmark/models/mapanything/utils/multiview_confidence.py:70
↓ 1 callers
Method
_compute_img_conf
(self, pred1_conf, pred2_conf)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:136
↓ 1 callers
Method
_compute_img_conf
(self, pred1_conf, pred2_conf)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:136
↓ 1 callers
Method
_compute_pose_quats_and_trans_for_across_views_in_ref_view
Compute the pose quats and trans for all the views in the frame of the reference view 0. Returns identity pose for views where the ca
benchmark/models/mapanything/models/mapanything/model.py:676
↓ 1 callers
Method
_compute_qkv_lr
Chunked forward pass with CPU-to-GPU transfers. This processes the input in chunks, reusing fast_weight_swish_glu_weight_norm_mini_batch_appl
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:264
↓ 1 callers
Method
_configure_geometric_input_config
Configure the geometric input configuration
benchmark/models/mapanything/models/mapanything/model.py:1961
↓ 1 callers
Method
_convert_to_prediction
Convert raw model output to Prediction object.
benchmark/models/r3/depth_anything_3/api.py:422
↓ 1 callers
Method
_copy_online_state
(self, state, new_state)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:808
↓ 1 callers
Method
_create_attn_mask
(self, S: int, P: int, mode: str, dtype: torch.dtype, device: torch.device)
benchmark/models/stream3r/models/components/aggregator/streamaggregator.py:162
↓ 1 callers
Method
_create_attn_mask
(self, S: int, mode: str, dtype: torch.dtype, device: torch.device)
benchmark/models/stream3r/models/components/heads/camera_head.py:81
↓ 1 callers
Method
_create_attn_mask
Build an additive float attention mask for the given sequence shape and mode. Deterministic masks (no random frame drops) are cached on CPU t
benchmark/models/r3/depth_anything_3/model/dinov2/vision_transformer.py:352
↓ 1 callers
Function
_create_xyf
Creates a grid of pixel coordinates and frame indices (fidx) for all frames.
benchmark/models/depth_anything_3/utils/export/colmap.py:130
↓ 1 callers
Function
_create_xyf
Creates a grid of pixel coordinates and frame indices (fidx) for all frames.
benchmark/models/r3/depth_anything_3/utils/export/colmap.py:130
↓ 1 callers
Method
_crop_ixt
( self, intrinsic: np.ndarray | None, orig_w: int, orig_h: int, w: int
benchmark/models/depth_anything_3/utils/io/input_processor.py:278
↓ 1 callers
Method
_crop_ixt
( self, intrinsic: np.ndarray | None, orig_w: int, orig_h: int, w: int
benchmark/models/r3/depth_anything_3/utils/io/input_processor.py:278
↓ 1 callers
Function
_crop_to_supported_aspect_ratio
(image, min_aspect_ratio=0.5, max_aspect_ratio=2.0)
benchmark/models/vggt_omega/utils/load_fn.py:68
↓ 1 callers
Method
_cut_dynamic_segment_after_rejected_fallback
Bound the dynamic KV cache after a rejected fallback by reapplying the cache policy. Keeps the existing poses/depths (the replay was not good
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:662
↓ 1 callers
Method
_cut_live_cache_after_failed_forced_fallback
( self, state, action, attempt_frame_id: int )
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:689
↓ 1 callers
Method
_decoder
(self, f1, pos1, f2, pos2)
benchmark/models/dust3r_root/dust3r/model.py:171
↓ 1 callers
Method
_decoder
(self, f1, pos1, f2, pos2)
benchmark/models/mast3r_root/dust3r/model.py:171
↓ 1 callers
Function
_default_ckpt_for_mode
(mode: str)
benchmark/models/r3/demo.py:82
↓ 1 callers
Function
_default_output_dir
(seq_path: str, kv_backend: str, kv_cache_mode: str)
benchmark/models/r3/demo.py:76
↓ 1 callers
Method
_depth_ratio_scale
Estimate per-batch scale as the median depth ratio anchor/target.
benchmark/models/lingbot_map/models/gct_stream_window.py:732
↓ 1 callers
Method
_depth_to_world_points
Unproject depth maps into a world-coordinate point cloud. Args: depth: (N, H, W) float32 depth map extrinsic: (N, 3,
benchmark/datasets/benchmark_dataset.py:250
↓ 1 callers
Method
_disable_model_depth_head
Remove depth heads and short-circuit depth forwarding to save memory/compute.
benchmark/models/r3/R3/models/r3_wrapper/setup.py:143
↓ 1 callers
Function
_discover_runs
Map run-name -> path for single-run, batch-parent, or scene/method layouts. Layouts handled: * `parent` itself is a run dir. * `paren
benchmark/models/r3/view.py:273
↓ 1 callers
Function
_dsc_num
(name)
visualize_benchmark_web.py:1271
↓ 1 callers
Method
_embed_images
Embed images and prepare for attention processing. Handles: - Image normalization - Patch embedding - Specia
benchmark/models/lingbot_map/aggregator/base.py:336
↓ 1 callers
Method
_encode_and_fuse_cam_quats_and_trans
Encode the camera quats and trans for all the views and fuse it with the other encoder features in a single forward pass. Args:
benchmark/models/mapanything/models/mapanything/model.py:1041
↓ 1 callers
Method
_encode_and_fuse_depths
Encode the z depths for all the views and fuse it with the other encoder features in a single forward pass. Args: views
benchmark/models/mapanything/models/mapanything/model.py:856
↓ 1 callers
Method
_encode_and_fuse_optional_geometric_inputs
Encode all the input optional geometric modalities and fuses it with the image encoder features in a single forward pass. Assumes all
benchmark/models/mapanything/models/mapanything/model.py:1162
↓ 1 callers
Method
_encode_and_fuse_ray_dirs
Encode the ray directions for all the views and fuse it with the other encoder features in a single forward pass. Args:
benchmark/models/mapanything/models/mapanything/model.py:782
↓ 1 callers
Method
_encode_image_pairs
Encode two different batches of images (each batch can have different image shape)
benchmark/models/mapanything/models/mapanything/modular_dust3r.py:271
↓ 1 callers
Method
_encode_n_views
Encode all the input views (batch of images) in a single forward pass. Assumes all the input views have the same image shape, batch s
benchmark/models/mapanything/models/mapanything/model.py:641
↓ 1 callers
Method
_encode_symmetrized
(self, view1, view2)
benchmark/models/dust3r_root/dust3r/model.py:152
↓ 1 callers
Method
_encode_symmetrized
Encode image pairs accounting for symmetrization, i.e., (a, b) and (b, a) always exist in the input
benchmark/models/mapanything/models/mapanything/modular_dust3r.py:289
↓ 1 callers
Method
_encode_symmetrized
(self, view1, view2)
benchmark/models/mast3r_root/dust3r/model.py:152
↓ 1 callers
Method
_ensure_wrapper
(self)
benchmark/models/r3/R3/models/online/flashinfer_backend.py:216
↓ 1 callers
Method
_estimate_scale_from_depth
Estimate scale from depth pairs — delegates to scale_estimation module.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:1393
↓ 1 callers
Function
_estimate_scene_scale
(points: np.ndarray, fallback: float = 1.0)
benchmark/models/depth_anything_3/utils/export/glb.py:266
↓ 1 callers
Function
_estimate_scene_scale
(points: np.ndarray, fallback: float = 1.0)
benchmark/models/r3/depth_anything_3/utils/export/glb.py:266
↓ 1 callers
Method
_evict_frame_from_kv
Remove a single frame's KV tokens from the cache.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:468
↓ 1 callers
Method
_evict_lowest_score
Drop the keyframe with the lowest score_provider value, tie-break by oldest frame_id.
benchmark/models/r3/R3/models/online/fallback.py:996
↓ 1 callers
Method
_export_results
Export results to specified format and directory.
benchmark/models/depth_anything_3/api.py:414
↓ 1 callers
Method
_export_results
Export results to specified format and directory.
benchmark/models/r3/depth_anything_3/api.py:449
↓ 1 callers
Function
_extended_fixture
()
benchmark/evaluation/bench_memory_curve.py:126
↓ 1 callers
Function
_extract_aligned_result
从 DUSt3R global aligner 中抽取 SpatialBench 结果。
benchmark/evaluation/model_adapters/dust3r_adapter.py:115
↓ 1 callers
Function
_extract_aligned_result
从 global aligner 中抽取 SpatialBench 结果。
benchmark/evaluation/model_adapters/mast3r_adapter.py:105
↓ 1 callers
Method
_extract_aux
Extract auxiliary data from model output and convert to numpy. Args: model_output: Model output dictionary Retu
benchmark/models/depth_anything_3/utils/io/output_processor.py:150
↓ 1 callers
Method
_extract_aux
Extract auxiliary data from model output and convert to numpy. Args: model_output: Model output dictionary Retu
benchmark/models/r3/depth_anything_3/utils/io/output_processor.py:150
↓ 1 callers
Method
_extract_auxiliary_features
Extract auxiliary features from specified layers.
benchmark/models/depth_anything_3/model/da3.py:286
↓ 1 callers
Method
_extract_auxiliary_features
Extract auxiliary features from specified layers.
benchmark/models/r3/depth_anything_3/model/da3.py:472
↓ 1 callers
Method
_extract_conf
Extract confidence tensor from model output and convert to numpy. Args: model_output: Model output dictionary R
benchmark/models/depth_anything_3/utils/io/output_processor.py:90
↓ 1 callers
Method
_extract_conf
Extract confidence tensor from model output and convert to numpy. Args: model_output: Model output dictionary R
benchmark/models/r3/depth_anything_3/utils/io/output_processor.py:90
↓ 1 callers
Method
_extract_depth
Extract depth tensor from model output and convert to numpy. Args: model_output: Model output dictionary Return
benchmark/models/depth_anything_3/utils/io/output_processor.py:77
↓ 1 callers
Method
_extract_depth
Extract depth tensor from model output and convert to numpy. Args: model_output: Model output dictionary Return
benchmark/models/r3/depth_anything_3/utils/io/output_processor.py:77
↓ 1 callers
Method
_extract_extrinsics
Extract extrinsics tensor from model output and convert to numpy. Args: model_output: Model output dictionary R
benchmark/models/depth_anything_3/utils/io/output_processor.py:105
↓ 1 callers
Method
_extract_extrinsics
Extract extrinsics tensor from model output and convert to numpy. Args: model_output: Model output dictionary R
benchmark/models/r3/depth_anything_3/utils/io/output_processor.py:105
↓ 1 callers
Method
_extract_intrinsics
Extract intrinsics tensor from model output and convert to numpy. Args: model_output: Model output dictionary R
benchmark/models/depth_anything_3/utils/io/output_processor.py:120
↓ 1 callers
Method
_extract_intrinsics
Extract intrinsics tensor from model output and convert to numpy. Args: model_output: Model output dictionary R
benchmark/models/r3/depth_anything_3/utils/io/output_processor.py:120
↓ 1 callers
Method
_extract_sky
Extract sky tensor from model output and convert to numpy. Args: model_output: Model output dictionary Returns:
benchmark/models/depth_anything_3/utils/io/output_processor.py:135
↓ 1 callers
Method
_extract_sky
Extract sky tensor from model output and convert to numpy. Args: model_output: Model output dictionary Returns:
benchmark/models/r3/depth_anything_3/utils/io/output_processor.py:135
↓ 1 callers
Method
_fallback_improves_bridge_scores
(self, old_scores, new_scores)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:750
↓ 1 callers
Function
_fast_depthmap_to_pts3d
(depth, pixel_grid, focal, pp)
benchmark/models/dust3r_root/dust3r/cloud_opt/optimizer.py:204
↓ 1 callers
Function
_fast_depthmap_to_pts3d
(depth, pixel_grid, focal, pp)
benchmark/models/mast3r_root/dust3r/cloud_opt/optimizer.py:204
↓ 1 callers
Function
_filter_and_downsample
(points: np.ndarray, colors: np.ndarray, num_max: int)
benchmark/models/depth_anything_3/utils/export/glb.py:255
↓ 1 callers
Function
_filter_and_downsample
(points: np.ndarray, colors: np.ndarray, num_max: int)
benchmark/models/r3/depth_anything_3/utils/export/glb.py:255
← previous
next →
1,301–1,400 of 5,295, ranked by callers