MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 2 callersMethod_current_segment_length
Return how many frames have elapsed in the current segment.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:559
↓ 2 callersFunction_decode_depth
Decode a depth map per depth_format; returns (depth, sky_mask_or_None).
benchmark/datasets/data_readers.py:89
↓ 2 callersFunction_default_fixture
()
benchmark/evaluation/bench_memory_curve.py:120
↓ 2 callersFunction_depths_to_world_points_with_colors
For each frame, transform (u,v,1) through K^{-1} to get rays, multiply by depth to camera frame, then use (w2c)^{-1} to transform to world fr
benchmark/models/depth_anything_3/utils/export/glb.py:205
↓ 2 callersFunction_depths_to_world_points_with_colors
For each frame, transform (u,v,1) through K^{-1} to get rays, multiply by depth to camera frame, then use (w2c)^{-1} to transform to world fr
benchmark/models/r3/depth_anything_3/utils/export/glb.py:205
↓ 2 callersMethod_dispatch
(self, func, *args, **kwargs)
benchmark/utils/cropping.py:69
↓ 2 callersMethod_dispatch
Apply a PIL.Image method to all images in the list. Args: func (str): Name of the PIL.Image method to call *
benchmark/models/mapanything/utils/cropping.py:99
↓ 2 callersMethod_downstream_head
(self, head_num, decout, img_shape)
benchmark/models/dust3r_root/dust3r/model.py:192
↓ 2 callersMethod_downstream_head
Run the respective prediction heads
benchmark/models/mapanything/models/mapanything/modular_dust3r.py:310
↓ 2 callersFunction_dust3r_context
临时切换 DUSt3R 依赖路径,并在退出时恢复同名模块。 DUSt3R/CroCo 使用顶层包名 `dust3r` 和 `models`。仓库里还有其他模型 也带有同名依赖快照,所以这里按 adapter root 做隔离,避免交叉污染。
benchmark/evaluation/model_adapters/dust3r_adapter.py:31
↓ 2 callersFunction_dynamic_covariance_scaling
Dynamic Covariance Scaling: downweight edges with large current residuals.
benchmark/models/r3/R3/utils/pose_utils.py:146
↓ 2 callersMethod_encode_image_pairs
(self, img1, img2, true_shape1, true_shape2)
benchmark/models/dust3r_root/dust3r/model.py:141
↓ 2 callersMethod_encode_image_pairs
(self, img1, img2, true_shape1, true_shape2)
benchmark/models/mast3r_root/dust3r/model.py:141
↓ 2 callersMethod_ensure_online_state
(self, batch_size: int)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:281
↓ 2 callersMethod_execute_deferred_eviction
Execute the eviction that was deferred during the last forward pass.
benchmark/models/lingbot_map/models/gct_stream_window.py:409
↓ 2 callersMethod_execute_fallback
Execute fallback: flush KV, re-run bridge frames, estimate scale.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:1495
↓ 2 callersMethod_extract_online_step_options
(self, kwargs)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:431
↓ 2 callersFunction_filter_edges_seq
(edges, seq_dis_thr, cyclic=False)
benchmark/models/dust3r_root/dust3r/image_pairs.py:80
↓ 2 callersFunction_filter_edges_seq
(edges, seq_dis_thr, cyclic=False)
benchmark/models/mast3r_root/mast3r/image_pairs.py:91
↓ 2 callersFunction_filter_edges_seq
(edges, seq_dis_thr, cyclic=False)
benchmark/models/mast3r_root/dust3r/image_pairs.py:80
↓ 2 callersMethod_flatten_patch_tokens
( self, x: Tensor, pos: torch.Tensor | None, batch_size: int, S: int,
benchmark/models/scal3r/utils/ttt_utils.py:417
↓ 2 callersMethod_forward_full_attention_replay
Run a single full-attention forward pass over all replay frames. Args: frame_ids: ordered list of frame IDs [ref, keyframes..., b
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:1136
↓ 2 callersMethod_forward_impl
Implementation of the forward pass through the DPT head. This method processes a specific chunk of frames from the sequence.
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/dpt_head.py:225
↓ 2 callersMethod_forward_impl
( self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: in
benchmark/models/depth_anything_3/model/dpt.py:207
↓ 2 callersMethod_forward_impl
( self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: in
benchmark/models/depth_anything_3/model/dualdpt.py:208
↓ 2 callersMethod_forward_impl
( self, aggregated_tokens_list: list[torch.Tensor | None], images: torch.Tensor,
benchmark/models/vggt_omega/models/heads/dense_head.py:105
↓ 2 callersMethod_forward_impl
( self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: in
benchmark/models/r3/depth_anything_3/model/dpt.py:207
↓ 2 callersMethod_forward_impl
( self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: in
benchmark/models/r3/depth_anything_3/model/dualdpt.py:290
↓ 2 callersMethod_forward_list
This list operator concatenates the tokens from the list of inputs together to save on the elementwise operations. Torch-compile memo
benchmark/models/vggt_omega/models/layers/block.py:131
↓ 2 callersFunction_forward_on_query
Process a single query frame for track prediction. Args: query_index: Index of the query frame images: Tensor of shape [S, 3
benchmark/models/page4d/dependency/track_predict.py:135
↓ 2 callersFunction_frustum_to_planes
r""" Converts frustum parameters to plane representation. Args: frustums (torch.Tensor): Bx8 batch of frustum points following the or
benchmark/models/mapanything/utils/wai/intersection_check.py:311
↓ 2 callersMethod_fuse
4-layer top-down fusion, returns finest scale features (after fusion, before neck1).
benchmark/models/depth_anything_3/model/dpt.py:268
↓ 2 callersMethod_fuse
4-layer top-down fusion, returns finest scale features (after fusion, before neck1).
benchmark/models/r3/depth_anything_3/model/dpt.py:268
↓ 2 callersFunction_get_cross_dim
(main_axis: Axis)
benchmark/models/depth_anything_3/utils/layout_helpers.py:70
↓ 2 callersFunction_get_cross_dim
(main_axis: Axis)
benchmark/models/r3/depth_anything_3/utils/layout_helpers.py:70
↓ 2 callersFunction_get_main_dim
(main_axis: Axis)
benchmark/models/depth_anything_3/utils/layout_helpers.py:63
↓ 2 callersFunction_get_main_dim
(main_axis: Axis)
benchmark/models/r3/depth_anything_3/utils/layout_helpers.py:63
↓ 2 callersFunction_get_nested
(config: dict[str, Any], *keys: str, default: Any = None)
benchmark/models/scal3r/pipelines/inference.py:42
↓ 2 callersMethod_get_positions
Get 2D position embeddings for RoPE. Args: B: Batch size S: Sequence length H: Image height
benchmark/models/lingbot_map/aggregator/base.py:417
↓ 2 callersFunction_goto_frame
(client, idx)
benchmark/models/r3/view.py:653
↓ 2 callersMethod_import_model
(variant)
benchmark/evaluation/model_adapters/zipmap_adapter.py:223
↓ 2 callersFunction_infer_file_format
(file, file_format: Optional[str] = None)
benchmark/models/scal3r/engine/io.py:14
↓ 2 callersMethod_init_patch_embedding_module
Create the patch embedding module. If 'conv', we use a simple PatchEmbed conv layer. Otherwise, we use a vision transformer.
benchmark/models/worldmirror_root/src/models/models/visual_transformer.py:111
↓ 2 callersMethod_init_weights
(self)
benchmark/models/vggt_omega/models/layers/rope_position_encoding.py:114
↓ 2 callersFunction_interleave_imgs
(img1, img2)
benchmark/models/dust3r_root/dust3r/inference.py:14
↓ 2 callersFunction_interleave_imgs
(img1, img2)
benchmark/models/mast3r_root/dust3r/inference.py:14
↓ 2 callersFunction_interp_trajectory
(n_frames, loop)
benchmark/models/r3/view.py:743
↓ 2 callersFunction_intrinsics_to_fov_aspect
Convert pinhole intrinsics to (vertical FOV in radians, aspect ratio).
benchmark/models/r3/view.py:305
↓ 2 callersFunction_invert_K
Invert 3x3 intrinsics matrices. Assumes no skew.
benchmark/models/loger/models/layers/prope.py:449
↓ 2 callersFunction_invert_K
Invert 3x3 intrinsics matrices. Assumes no skew.
benchmark/models/pi3/models/layers/prope.py:449
↓ 2 callersFunction_is_plain_name
Check if name is safe for use in paths.
benchmark/models/r3/depth_anything_3/services/backend.py:485
↓ 2 callersFunction_kabsch_rotation
Compute a proper rotation (det=+1) using Kabsch with reflection handling Args: src_xyz (np.ndarray): Source point cloud of shape (N, 3)
benchmark/models/scal3r/utils/pgo/aligner.py:190
↓ 2 callersFunction_kind_from_path
(cfg_path)
benchmark/evaluation/bench_memory_curve.py:259
↓ 2 callersFunction_load_existing_results
Read an existing per-model JSON and return (results_dict, completed_flag). Returns ({}, False) if the file is missing or unreadable.
benchmark/evaluation/bench_memory_curve.py:274
↓ 2 callersFunction_load_pose
Load a .npy pose file; uniformly returns (3, 4) cam2world float32.
benchmark/datasets/data_readers.py:141
↓ 2 callersFunction_load_selected
()
benchmark/models/r3/view.py:665
↓ 2 callersFunction_log_kv_stats
One-line dump of aggregator KV cache occupancy + aux counters.
benchmark/models/lingbot_map/models/gct_stream.py:41
↓ 2 callersFunction_make_dinov2_model_name
(arch_name: str, patch_size: int, num_register_tokens: int = 0)
benchmark/models/loger/models/dinov2/hub/utils.py:17
↓ 2 callersFunction_make_dinov2_model_name
(arch_name: str, patch_size: int, num_register_tokens: int = 0)
benchmark/models/pi3/models/dinov2/hub/utils.py:17
↓ 2 callersMethod_make_empty_keyframe_registry
Create a fresh keyframe registry with the wrapper's configured selection policy.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:149
↓ 2 callersMethod_make_layer
(self, dim, stride=1)
benchmark/models/page4d/dependency/track_modules/blocks.py:126
↓ 2 callersFunction_make_overlapping_grid
(H, W, size, overlap)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:33
↓ 2 callersFunction_make_prediction_head
(in_channels: int, out_channels: int)
benchmark/models/vggt_omega/models/heads/dense_head.py:206
↓ 2 callersFunction_make_scratch
(in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False)
benchmark/models/lingbot_map/heads/dpt_head.py:316
↓ 2 callersFunction_make_scratch
( in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False )
benchmark/models/depth_anything_3/model/dpt.py:362
↓ 2 callersFunction_make_scratch
( in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False )
benchmark/models/r3/depth_anything_3/model/dpt.py:362
↓ 2 callersFunction_make_sliding_view_1d
Produce a sliding-window view along one axis of an array. Returns shape (..., n_windows, ..., win) with the window dim appended last.
benchmark/models/amb3r_root/amb3r/tools/pts_vis.py:23
↓ 2 callersFunction_make_sliding_view_2d
Produce a 2-D sliding-window view over two axes.
benchmark/models/amb3r_root/amb3r/tools/pts_vis.py:43
↓ 2 callersFunction_mast3r_context
临时切换 MASt3R/DUSt3R/CroCo 依赖路径,并在退出后恢复。
benchmark/evaluation/model_adapters/mast3r_adapter.py:25
↓ 2 callersFunction_mat_to_quat
Rotation matrix (N, 3, 3) -> unit quaternion (N, 4). Shepperd method.
benchmark/evaluation/metrics.py:347
↓ 2 callersMethod_match_dtype
(self, x, reference)
benchmark/models/omnivggt/models/omnivggt_aggregator.py:87
↓ 2 callersMethod_maybe_index_rope
(rope: tuple[Tensor, Tensor] | None, indices: Tensor)
benchmark/models/vggt_omega/models/layers/block.py:76
↓ 2 callersFunction_merge_dicts
(base: Any, update: Any)
benchmark/models/scal3r/engine/config.py:22
↓ 2 callersMethod_merge_online_step_predictions
(self, predictions_list)
benchmark/models/r3/R3/models/r3_wrapper/outputs.py:175
↓ 2 callersMethod_merge_spatial_temporal_rope_dims
(spatial: Tensor, temporal: Tensor)
benchmark/models/r3/depth_anything_3/model/dinov2/layers/attention.py:94
↓ 2 callersMethod_merge_windowed_predictions
Merge predictions from multiple windows by concatenating along the time dimension while removing overlapping frames.
benchmark/models/loger/models/pi3.py:853
↓ 2 callersMethod_merge_windowed_predictions_sim3
Merge windowed predictions by estimating relative poses between overlaps. When ``allow_scale`` is True this performs Sim(3) alignment
benchmark/models/loger/models/pi3.py:967
↓ 2 callersFunction_normalize_masked_weights
Convert masked confidence logits into normalized averaging weights.
benchmark/models/r3/R3/utils/pose_utils.py:180
↓ 2 callersFunction_offload_root_path
(args)
benchmark/models/scal3r/utils/offload_utils.py:20
↓ 2 callersMethod_passes_pose_confidence_gate
Gate keyframe insertion against the segment's warmup-window mean confidence.
benchmark/models/r3/R3/models/online/fallback.py:917
↓ 2 callersMethod_populate_paged_kv_from_replay
Copy dense replay K/V into a fresh paged store on ``state``.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:141
↓ 2 callersMethod_prepare_tokens
( self, images: torch.Tensor, cameras: torch.Tensor = None, camera_dropout: fl
benchmark/models/scal3r/utils/vggt/models/aggregator.py:425
↓ 2 callersMethod_process_attention_blocks
Process attention blocks with tokens in shape (B*S, P, C).
benchmark/models/worldmirror_root/src/models/models/visual_transformer.py:373
↓ 2 callersMethod_process_frame_attention
Process frame attention blocks. We keep tokens in shape (B*S, P, C).
benchmark/models/omnivggt/models/omnivggt_aggregator.py:422
↓ 2 callersMethod_process_frame_attention
Process frame attention blocks. We keep tokens in shape (B*S, P, C).
benchmark/models/zipmap/zipmap/models/aggregator_ttt.py:458
↓ 2 callersMethod_process_global_attention
Process global attention blocks. We keep tokens in shape (B, S*P, C).
benchmark/models/streamvggt/models/aggregator.py:329
↓ 2 callersMethod_process_global_attention
Process global attention blocks. We keep tokens in shape (B, S*P, C).
benchmark/models/stream3r/models/components/aggregator/streamaggregator.py:313
↓ 2 callersMethod_process_global_attention
Process global attention blocks. We keep tokens in shape (B, S*P, C).
benchmark/models/zipmap/zipmap/models/aggregator_ttt.py:481
↓ 2 callersMethod_prune_kv_cache_list
( self, kv_cache_list, cache_frame_ids, keep_frame_ids, tokens_per_frame )
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:373
↓ 2 callersMethod_prune_online_state
(self, state, keep_frame_ids)
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:385
↓ 2 callersFunction_quat_cosine_loss
Sign-invariant cosine loss for quaternion pairs.
benchmark/models/r3/R3/utils/pose_utils.py:134
↓ 2 callersFunction_rand_rot
()
benchmark/models/depth_anything_3/utils/pose_align.py:282
↓ 2 callersFunction_rand_rot
()
benchmark/models/r3/depth_anything_3/utils/pose_align.py:282
↓ 2 callersFunction_ravel_hw
(tensor, fill=0)
benchmark/models/dust3r_root/dust3r/cloud_opt/optimizer.py:231
↓ 2 callersFunction_ravel_hw
(tensor, fill=0)
benchmark/models/mast3r_root/dust3r/cloud_opt/optimizer.py:231
↓ 2 callersFunction_reconstruct_camera_sequence_greedy
Greedily reconstruct absolute camera sequence from relative predictions. Translation and rotation share the same candidate set during top-k selec
benchmark/models/r3/R3/utils/pose_utils.py:329
↓ 2 callersFunction_reconstruct_camera_sequence_pgo_single
Refine absolute poses from pairwise relative edges with a lightweight PGO.
benchmark/models/r3/R3/utils/pose_utils.py:442
↓ 2 callersMethod_record_rejected_ref
Remember a ref that just failed so resolve_fallback_ref_id can skip it next time. Bridge frames are kept eligible because the bridge window s
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:651
↓ 2 callersFunction_redraw_keypoint_markers
()
benchmark/models/r3/view.py:723
↓ 2 callersMethod_refine_depths_with_TSDF
Leverage TSDF to post-process estimated depths for each pixel, find zero level of TSDF along ray (or closest to 0)
benchmark/models/mast3r_root/mast3r/cloud_opt/tsdf_optimizer.py:34
← previousnext →601–700 of 5,295, ranked by callers