MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 2 callersMethod_resize_ixt
( self, intrinsic: np.ndarray | None, orig_w: int, orig_h: int, w: int
benchmark/models/depth_anything_3/utils/io/input_processor.py:262
↓ 2 callersMethod_resize_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:262
↓ 2 callersMethod_resize_nhw
(array, size_hw, mode="bilinear")
benchmark/evaluation/model_adapters/r3_adapter.py:430
↓ 2 callersMethod_resize_nhw_tensor
(x, h, w)
benchmark/evaluation/model_adapters/zipmap_adapter.py:267
↓ 2 callersFunction_resize_pil_image
(img, long_edge_size)
benchmark/models/dust3r_root/dust3r/utils/image.py:64
↓ 2 callersFunction_resize_pil_image
(img, long_edge_size)
benchmark/models/r3/R3/utils/input_io.py:75
↓ 2 callersFunction_resize_pil_image
(img, long_edge_size)
benchmark/models/mast3r_root/dust3r/utils/image.py:64
↓ 2 callersFunction_resolve_config_path
(config_ref: str | PathLike[str], parent_dir: str)
benchmark/models/scal3r/engine/config.py:10
↓ 2 callersMethod_resolve_fallback_ref_id
Choose the fallback reference frame, honoring bridge mode + rejected-ref suppression. `banked_frame_ids` (when provided) constrains the picke
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:611
↓ 2 callersFunction_resolve_offload_root_path
(args)
benchmark/models/scal3r/utils/offload_utils.py:14
↓ 2 callersFunction_restrict_rel_pose_mask_to_anchor
Restrict relative-pose reconstruction to edges attached to one anchor frame.
benchmark/models/r3/R3/utils/pose_utils.py:312
↓ 2 callersMethod_rollback_last_frame
Rollback the most recent frame from all caches. Undoes append_frame on FlashInfer manager (all blocks), trims the camera head SDPA ca
benchmark/models/lingbot_map/models/gct_stream_window.py:379
↓ 2 callersFunction_round_to_patch_multiple
(value, patch_size)
benchmark/models/vggt_omega/utils/load_fn.py:104
↓ 2 callersMethod_run_pi3_chunk
Run Pi3 on a single chunk of images. Args: images_chunk: (chunk_N, 3, H, W) tensor [0, 1] Returns: dict with
benchmark/evaluation/model_adapters/pi_long_adapter.py:68
↓ 2 callersMethod_run_vggt_chunk
Run VGGT forward, on a single chunk and return numpy results. Args: images_chunk: (chunk_N, 3, H, W) tensor [0, 1] Retur
benchmark/evaluation/model_adapters/vggt_long_adapter.py:76
↓ 2 callersFunction_runtime_root_path
(args)
benchmark/models/scal3r/utils/offload_utils.py:10
↓ 2 callersFunction_sanitize_color
(color: Color)
benchmark/models/depth_anything_3/utils/layout_helpers.py:41
↓ 2 callersFunction_sanitize_color
(color: Color)
benchmark/models/r3/depth_anything_3/utils/layout_helpers.py:41
↓ 2 callersFunction_save_image_impl
Common implementation for saving images synchronously or asynchronously
benchmark/models/depth_anything_3/utils/parallel_utils.py:47
↓ 2 callersFunction_save_image_impl
Common implementation for saving images synchronously or asynchronously
benchmark/models/r3/depth_anything_3/utils/parallel_utils.py:47
↓ 2 callersFunction_score_cell
(cell1, H2, W2, p1, p2, min_corres=10, forced_resolution=None)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:111
↓ 2 callersMethod_select_bridge_frames
Pick bridge frames spanning enough baseline. Default behavior (`min_bridge_baseline_ratio == 0`): take the last `num_bridge_frames` c
benchmark/models/r3/R3/models/online/fallback.py:646
↓ 2 callersFunction_set_camera
(client, pos, wxyz, fov)
benchmark/models/r3/view.py:763
↓ 2 callersMethod_set_depthmap
(self, idx, depth, force=False)
benchmark/models/dust3r_root/dust3r/cloud_opt/pair_viewer.py:83
↓ 2 callersMethod_set_depthmap
(self, idx, depth, force=False)
benchmark/models/mast3r_root/dust3r/cloud_opt/pair_viewer.py:83
↓ 2 callersMethod_set_skip_append
Set _skip_append flag on all KV caches (aggregator + camera head). When skip=True, attention layers will attend to [cached_kv + current_kv]
benchmark/models/lingbot_map/models/gct_stream.py:300
↓ 2 callersFunction_set_state_tracking
(model: torch.nn.Module, enable: bool)
benchmark/models/vgg_ttt/vggttt/nets/vggt/models/vggt.py:400
↓ 2 callersFunction_smooth_trj_fn_batch
(raw_c2ws, k_size=50)
benchmark/models/depth_anything_3/model/utils/gs_renderer.py:193
↓ 2 callersFunction_smooth_trj_fn_batch
(raw_c2ws, k_size=50)
benchmark/models/r3/depth_anything_3/model/utils/gs_renderer.py:193
↓ 2 callersMethod_split_spatial_temporal_rope_dims
Split each spatial axis symmetrically, reserving axis tails for temporal RoPE.
benchmark/models/r3/depth_anything_3/model/dinov2/layers/attention.py:74
↓ 2 callersFunction_start_pos
(total_size, win_size, overlap)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:18
↓ 2 callersFunction_summary_from_agg
Extract mean values from an aggregate dict in a fixed group/key order and return a nested dict. Used for both the overall top-level metrics and t
benchmark/evaluation/report.py:158
↓ 2 callersFunction_to44
(ext)
benchmark/models/depth_anything_3/utils/pose_align.py:68
↓ 2 callersFunction_to44
(ext)
benchmark/models/r3/depth_anything_3/utils/pose_align.py:68
↓ 2 callersFunction_translation_angle
Translation angle error (degrees) with ambiguity handling. Matches DA3.
benchmark/evaluation/metrics.py:406
↓ 2 callersFunction_unproject_frame
Unproject a single depth map to world coordinates.
visualize_benchmark_web.py:1501
↓ 2 callersFunction_voxel_downsample_np
Pure numpy voxel downsampling: each voxel keeps the mean of its interior points. Very close to open3d.voxel_down_sample but does not depend on Op
benchmark/evaluation/metrics.py:793
↓ 2 callersFunction_weight_pixels
(cell, pix, assigned, gauss_var=2)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:91
↓ 2 callersFunction_write_video_streaming
Render and write video frames one at a time, retrying without libx264 on encoder failure.
benchmark/models/r3/view.py:63
↓ 2 callersMethodactivate_head
Process network output to extract attribute (e.g. points, depth, etc.) and confidence values. Args: out_head: Network ou
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:297
↓ 2 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
benchmark/models/lingbot_map/heads/head_act.py:12
↓ 2 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
benchmark/models/zipmap/zipmap/heads/head_act.py:8
↓ 2 callersMethodadapt_tokens
(self, encoder_tokens)
benchmark/models/dust3r_root/croco/models/dpt_block.py:412
↓ 2 callersMethodadapt_tokens
(self, encoder_tokens)
benchmark/models/mast3r_root/croco/models/dpt_block.py:412
↓ 2 callersMethodadd_cameras
(self, poses, focals=None, images=None, imsizes=None, colors=None, **kw)
benchmark/models/dust3r_root/dust3r/viz.py:202
↓ 2 callersMethodadd_constraint
( self, prev_submap: Submap, curr_submap: Submap, update: bool = True, )
benchmark/models/scal3r/utils/pgo/processor.py:33
↓ 2 callersFunctionadd_scene_cam
(scene, pose_c2w, edge_color, image=None, focal=None, imsize=None, screen_width=0.03, marke
benchmark/models/dust3r_root/dust3r/viz.py:246
↓ 2 callersFunctionadd_scene_cam
(scene, pose_c2w, edge_color, image=None, focal=None, imsize=None, screen_width=0.03, marke
benchmark/models/mast3r_root/dust3r/viz.py:246
↓ 2 callersFunctionadjust_learning_rate_by_lr
(optimizer, lr)
benchmark/models/mast3r_root/dust3r/optim_factory.py:9
↓ 2 callersFunctionaffine_inverse
(A: torch.Tensor)
benchmark/models/scal3r/utils/math_utils.py:40
↓ 2 callersFunctionalign_multiple_poses
(src_poses, target_poses)
benchmark/models/dust3r_root/dust3r/cloud_opt/init_im_poses.py:328
↓ 2 callersFunctionalign_multiple_poses
(src_poses, target_poses)
benchmark/models/mast3r_root/dust3r/cloud_opt/init_im_poses.py:328
↓ 2 callersMethodallocate_frame
Reserve the pages needed for a single frame. v1: exactly one page per frame.
benchmark/models/r3/R3/models/online/flashinfer_backend.py:139
↓ 2 callersFunctionapply_base_transforms
( image: torch.Tensor, mask: torch.Tensor, ixt: torch.Tensor, w2c: torch.Tensor, dataset_c
benchmark/models/scal3r/utils/image_utils.py:181
↓ 2 callersFunctionapply_chunked
( func: Callable, x: torch.Tensor, *args, dim: int = 1, chunk_size: int | None = 128,
benchmark/models/vgg_ttt/vggttt/nets/ttt.py:121
↓ 2 callersFunctionapply_loop_nms_filter
(loop_closures, nms_threshold: int)
benchmark/models/scal3r/utils/loop/detector.py:195
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
benchmark/models/loger/models/layers/pos_embed.py:136
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
benchmark/models/stream3r/croco/models/pos_embed.py:156
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
benchmark/models/dust3r_root/croco/models/pos_embed.py:134
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
benchmark/models/pi3/models/layers/pos_embed.py:136
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
benchmark/models/mast3r_root/croco/models/pos_embed.py:134
↓ 2 callersFunctionapply_scene_alignment
Aligns the 3D scene based on the extrinsics of the first camera. Args: scene_3d (trimesh.Scene): The 3D scene to be aligned.
benchmark/models/loger/utils/visual_util.py:516
↓ 2 callersFunctionapply_sim3_to_points
Apply SIM(3) transform to a point cloud. Args: point_maps: (B, H, W, 3) or (N, 3) s: scale R: (3, 3) t: (3,)
benchmark/utils/sim3_align.py:173
↓ 2 callersMethodbackward
(ctx, grad_res)
benchmark/models/mast3r_root/croco/models/curope/curope2d.py:25
↓ 2 callersFunctionbilinear_sampler
r"""Sample a tensor using bilinear interpolation `bilinear_sampler(input, coords)` samples a tensor :attr:`input` at coordinates :attr:`coord
benchmark/models/streamvggt/heads/track_modules/utils.py:117
↓ 2 callersFunctionbilinear_sampler
r"""Sample a tensor using bilinear interpolation `bilinear_sampler(input, coords)` samples a tensor :attr:`input` at coordinates :attr:`coord
benchmark/models/vggt/heads/track_modules/utils.py:124
↓ 2 callersFunctionbilinear_sampler
r"""Sample a tensor using bilinear interpolation `bilinear_sampler(input, coords)` samples a tensor :attr:`input` at coordinates :attr:`coord
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/utils.py:88
↓ 2 callersFunctionbilinear_sampler
r"""Sample a tensor using bilinear interpolation `bilinear_sampler(input, coords)` samples a tensor :attr:`input` at coordinates :attr:`coord
benchmark/models/page4d/heads/track_modules/utils.py:124
↓ 2 callersFunctionbilinear_sampler
r"""Sample a tensor using bilinear interpolation `bilinear_sampler(input, coords)` samples a tensor :attr:`input` at coordinates :attr:`coord
benchmark/models/page4d/dependency/track_modules/utils.py:125
↓ 2 callersFunctionbilinear_sampler
r"""Sample a tensor using bilinear interpolation `bilinear_sampler(input, coords)` samples a tensor :attr:`input` at coordinates :attr:`coord
benchmark/models/fastvggt/heads/track_modules/utils.py:124
↓ 2 callersFunctionbuild_dataset
(dataset, batch_size, num_workers, test=False)
benchmark/models/amb3r_root/amb3r/datasets/__init__.py:87
↓ 2 callersFunctionbuild_dummy_ixt
(height: int, width: int, focal_ratio: float = 1.0)
benchmark/models/scal3r/utils/image_utils.py:142
↓ 2 callersFunctionbuild_preprocessed_frame
( image: torch.Tensor, mask: torch.Tensor, ixt: torch.Tensor, path: str, )
benchmark/models/scal3r/utils/image_utils.py:279
↓ 2 callersFunctionbuild_report
Build the full evaluation report.
benchmark/evaluation/report.py:77
↓ 2 callersFunctionbuild_sampler_from_config
( config_path: str, device: torch.device, checkpoint_path: str | None = None, )
benchmark/models/scal3r/models/scal3r.py:177
↓ 2 callersFunctioncamera_frustum_lines
Generate frustum line segments for a single camera (world coordinates). Args: K: (3, 3) intrinsics c2w: (3, 4) cam2world
benchmark/utils/visualization.py:32
↓ 2 callersFunctioncamera_matrix_of_crop
Compute the intrinsics matrix after cropping/resizing.
benchmark/utils/cropping.py:115
↓ 2 callersFunctioncamera_matrix_of_crop
Calculate the camera matrix for a cropped image. Args: input_camera_matrix (numpy.ndarray): Original camera intrinsics matrix
benchmark/models/mapanything/utils/cropping.py:283
↓ 2 callersFunctioncat
Arrange images in a line. The interface resembles a CSS div with flexbox.
benchmark/models/depth_anything_3/utils/layout_helpers.py:120
↓ 2 callersFunctioncat
(a, b)
benchmark/models/dust3r_root/dust3r/viz.py:322
↓ 2 callersFunctioncat
Arrange images in a line. The interface resembles a CSS div with flexbox.
benchmark/models/r3/depth_anything_3/utils/layout_helpers.py:120
↓ 2 callersFunctioncat_3d
(vecs)
benchmark/models/dust3r_root/dust3r/viz.py:23
↓ 2 callersFunctioncat_3d
(vecs)
benchmark/models/mast3r_root/dust3r/viz.py:23
↓ 2 callersFunctioncenter_and_z
(poses)
benchmark/models/dust3r_root/dust3r/cloud_opt/init_im_poses.py:332
↓ 2 callersFunctioncenter_and_z
(poses)
benchmark/models/mast3r_root/dust3r/cloud_opt/init_im_poses.py:332
↓ 2 callersFunctioncheck_memory_availability
Return whether at least ``required_gb`` seems available on the current GPU. The returned tuple is (is_available, message) with a human-friendly m
benchmark/models/r3/depth_anything_3/utils/memory.py:78
↓ 2 callersMethodclear_online_state
Reset online state and fallback components.
benchmark/models/r3/R3/models/r3_wrapper/online_inference.py:57
↓ 2 callersMethodclose
(self)
benchmark/models/scal3r/utils/cam_utils.py:44
↓ 2 callersFunctionclosed_form_inverse_se3
Compute the inverse of each 4x4 (or 3x4) SE3 matrix in a batch. If `R` and `T` are provided, they must correspond to the rotation and transl
benchmark/models/streamvggt/utils/geometry.py:187
↓ 2 callersFunctionclosed_form_inverse_se3
Compute the inverse of each 4x4 (or 3x4) SE3 matrix in a batch. If `R` and `T` are provided, they must correspond to the rotation and transl
benchmark/models/vgg_ttt/vggttt/nets/vggt/utils/geometry.py:116
↓ 2 callersFunctionclosed_form_inverse_se3
Compute the inverse of each 4x4 (or 3x4) SE3 matrix in a batch. If `R` and `T` are provided, they must correspond to the rotation and transl
benchmark/models/omnivggt/utils/geometry.py:269
↓ 2 callersFunctionclosed_form_inverse_se3_general
支持任意 batch 维度的 SE3 逆运算 se3: (..., 4, 4) 或 (..., 3, 4)
benchmark/models/lingbot_map/utils/geometry.py:181
↓ 2 callersFunctionclosed_form_pose_inverse
Compute the inverse of each 4x4 (or 3x4) SE3 pose matrices in a batch. If `rotation_matrices` and `translation_vectors` are provided, they m
benchmark/models/mapanything/utils/geometry.py:1051
↓ 2 callersFunctioncollate_with_cat
(whatever, lists=False)
benchmark/models/dust3r_root/dust3r/utils/device.py:47
↓ 2 callersFunctioncollate_with_cat
(whatever, lists=False)
benchmark/models/mast3r_root/dust3r/utils/device.py:47
↓ 2 callersFunctioncolor_pointcloud_by_projection
Project the point cloud onto each view image to pick colors. For each 3D point, project it to the nearest camera view and sample an RGB color fro
benchmark/utils/visualization.py:267
↓ 2 callersMethodcompute_attention
(self, qkv: Tensor, attn_bias=None, rope=None)
benchmark/models/vggt_omega/models/layers/attention.py:123
↓ 2 callersFunctioncompute_depth_metrics
Compute the standard depth evaluation metrics. Args: pred: (H, W) predicted depth (already aligned) gt: (H, W) GT depth v
benchmark/evaluation/metrics.py:183
↓ 2 callersFunctioncompute_error
(q: torch.Tensor, w0: torch.Tensor, w1: torch.Tensor, w2: torch.Tensor, v: torch.Tensor)
benchmark/models/vgg_ttt/vggttt/nets/ttt.py:147
↓ 2 callersFunctioncompute_fallback_blend_weights
Normalize old/new confidence into convex blending weights.
benchmark/models/r3/R3/models/online/fallback.py:86
← previousnext →701–800 of 5,295, ranked by callers