MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

Functionray_triangle_intersection_check
Check if rays intersect triangles in 3D using the Moller-Trumbore algorithm, considering the finite length of rays. Args: ray_or
benchmark/models/mapanything/utils/wai/intersection_check.py:262
Functionread_camera_parameters
(filename)
benchmark/models/lingbot_map/utils/pose_enc.py:322
Methodread_kv
Read back a frame's K/V for unit testing. Returns (1, H, T, D) tensors.
benchmark/models/r3/R3/models/online/flashinfer_backend.py:197
Methodread_scene
(self, data_root, scene_path, frame_indices)
benchmark/datasets/data_readers.py:501
Functionreference_lact_swiglu_ffn_fast_weight_grads
Args: W0, W2: [1, M, K] or [1, Hidden, D] W1: [1, K, M] or [1, D, Hidden] K, V: [1, N, K] or [1, B * num_Tokens,
benchmark/models/zipmap/zipmap/layers/lact_with_act_ckpt_plain.py:291
Functionreference_lact_swiglu_ffn_fast_weight_grads
Args: W0, W2: [1, M, K] or [1, Hidden, D] W1: [1, K, M] or [1, D, Hidden] K, V: [1, N, K] or [1, B * num_Tokens,
benchmark/models/zipmap/zipmap/layers/lact_with_act_ckpt.py:324
Functionrefine_track_v0
COPIED FROM VGGSfM Refines the tracking of images using a fine track predictor and a fine feature network. Check https://arxiv.org/abs/2
benchmark/models/page4d/dependency/track_modules/track_refine.py:163
Functionreg_dense_offsets
(xyz, shift=6.0)
benchmark/models/worldmirror_root/src/models/utils/act_gs.py:5
Functionreg_dense_opacities
(opacities)
benchmark/models/worldmirror_root/src/models/utils/act_gs.py:18
Functionreg_dense_rotation
(rotations, eps=1e-8)
benchmark/models/worldmirror_root/src/models/utils/act_gs.py:12
Functionreg_dense_scales
(scales)
benchmark/models/worldmirror_root/src/models/utils/act_gs.py:9
Functionreg_dense_sh
(sh)
benchmark/models/worldmirror_root/src/models/utils/act_gs.py:15
Functionreg_dense_weights
(weights)
benchmark/models/worldmirror_root/src/models/utils/act_gs.py:21
Methodregister
(self, name=None)
benchmark/models/depth_anything_3/utils/registry.py:24
Methodregister
(self, name=None)
benchmark/models/r3/depth_anything_3/utils/registry.py:24
Functionregister_adapter
Decorator to register a model adapter.
benchmark/evaluation/model_adapters/__init__.py:4
Functionregister_handler
(file_formats, **kwargs)
benchmark/models/scal3r/engine/io.py:85
Functionrelative_pose_from_absolute_pose
Express a target absolute pose relative to a reference absolute pose.
benchmark/models/r3/R3/utils/pose_utils.py:30
Functionrelative_pose_transformation
r""" Function that computes the relative homogenous transformation from a reference transformation :math:`T_1^{0} = \begin{bmatrix} R_1 & t_1
benchmark/models/mapanything/utils/geometry.py:1106
Functionreload_model
Reload the model.
benchmark/models/r3/depth_anything_3/services/backend.py:1298
Methodrender
(self, task)
benchmark/models/scal3r/utils/console_utils.py:127
Methodrender
(self, task)
benchmark/models/scal3r/utils/console_utils.py:148
Methodrender
render nvs rgb and depth given ray conditions only
benchmark/models/zipmap/zipmap/models/ZipMap.py:209
Methodrender
Args: ray_conditions (torch.Tensor): Input ray conditions with shape [B, S, nvs_ray_cond_dim, H, W]. B: batch siz
benchmark/models/zipmap/zipmap/models/aggregator_ttt.py:380
Functionreorder_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/r3/depth_anything_3/model/reference_view_selector.py:115
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/dust3r_adapter.py:295
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/mast3r_adapter.py:294
Methodrequires_intrinsics
Whether intrinsics are required as input. Default True.
benchmark/evaluation/model_adapters/base_adapter.py:106
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/amb3r_adapter.py:328
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/vgg_ttt_adapter.py:133
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/r3_adapter.py:523
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/lingbot_map_adapter.py:253
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/lingbot_map_stream_adapter.py:254
Methodrequires_intrinsics
(self)
benchmark/evaluation/model_adapters/zipmap_adapter.py:213
Methodreset
(self, total=None)
benchmark/models/scal3r/utils/console_utils.py:216
Methodreset_adaptive_states
Reset fast-weight TTT states only; SWA history is preserved across resets.
benchmark/models/loger/models/pi3.py:654
Methodreset_parameters
(self)
benchmark/models/vggt_omega/models/layers/layer_scale.py:31
Methodreset_parameters
(self)
benchmark/models/vggt_omega/models/layers/patch_embed.py:91
Functionresize_with_nearest_interpolation_to_match_aspect_ratio
Resize input map to match the aspect ratio of an image while ensuring the input resolution never increases beyond the original. Uses near
benchmark/models/mapanything/utils/cropping.py:113
Functionresolve_fallback_scale
Prefer the depth-derived scale unless pose agrees closely enough to sharpen it.
benchmark/models/r3/R3/models/online/scale_estimation.py:269
Functionresolve_inheritance
Recursively resolve inheritance if the config contains: __inherit__: path/to/parent.yaml or a ListConfig of such paths.
benchmark/models/depth_anything_3/cfg.py:74
Functionresolve_inheritance
Recursively resolve inheritance if the config contains: __inherit__: path/to/parent.yaml or a ListConfig of such paths.
benchmark/models/r3/depth_anything_3/cfg.py:78
Functionresolve_special_float
(value)
benchmark/models/mapanything/models/__init__.py:35
Functionrestore_original_order
Restore original view order after processing. Args: x: Reordered tensor of shape (B, S, ...) b_idx: Original reference v
benchmark/models/r3/depth_anything_3/model/reference_view_selector.py:168
Functionroot
Home page with navigation to dashboard and gallery.
benchmark/models/r3/depth_anything_3/services/backend.py:574
Functionrope_2d
benchmark/models/stream3r/croco/models/curope/curope.cpp:49
Functionrope_2d
benchmark/models/dust3r_root/croco/models/curope/curope.cpp:49
Functionrope_2d
benchmark/models/mast3r_root/croco/models/curope/curope.cpp:49
Functionrotation_angle
(R1, R2)
benchmark/utils/image_ranking.py:8
Functionrotmat2qvec
(R)
benchmark/models/r3/depth_anything_3/utils/read_write_model.py:530
Methodrun_amb3r_benchmark
(self, frames)
benchmark/models/amb3r_root/amb3r/model_zoo.py:173
Methodrun_amb3r_sfm
AMB3R-SfM interface, benchmark_conf0 is for AMB3R base model for early stopping
benchmark/models/amb3r_root/amb3r/model.py:419
Methodrun_amb3r_vo
(self, frames, cfg, keyframe_memory)
benchmark/models/amb3r_root/amb3r/model_zoo.py:178
Methodrun_amb3r_vo
AMB3R-VO interface
benchmark/models/amb3r_root/amb3r/model.py:289
Functionrun_inference
Submit inference task and return task ID.
benchmark/models/r3/depth_anything_3/services/backend.py:1179
Functionrun_online_revisit_loop
( wrapper, images, base_state, frame_ids, merged_predictions, state, online_options, da3_kwargs )
benchmark/models/r3/R3/models/online/revisit.py:209
Methodrun_optimization
(self, with_gtsam: bool = False)
benchmark/models/scal3r/utils/pgo/processor.py:159
Functionsafe_collate
(batch)
benchmark/models/amb3r_root/amb3r/datasets/__init__.py:23
Functionsave_3d_points
Save 3D points to a GLB file. Args: points (torch.Tensor or np.ndarray): 3D points of shape (N, 3) or (B, N, 3). colors (torc
benchmark/models/zipmap/zipmap/utils/geometry.py:338
Functionsave_conf_maps
(conf, path)
benchmark/models/omnivggt/utils/misc.py:162
Functionsave_depth_maps
(depth_maps, path)
benchmark/models/omnivggt/utils/misc.py:182
Functionsave_dynamic_masks
(dynamic_masks, path)
benchmark/models/omnivggt/utils/misc.py:176
Functionsave_focals
(focals, path)
benchmark/models/omnivggt/utils/misc.py:150
Functionsave_image
Save image synchronously
benchmark/models/depth_anything_3/utils/parallel_utils.py:59
Functionsave_image
Save image synchronously
benchmark/models/r3/depth_anything_3/utils/parallel_utils.py:59
Functionsave_image
( img_path: str, img: np.ndarray | torch.Tensor, jpeg_quality: int = 75, png_compression: int
benchmark/models/scal3r/utils/data_utils.py:147
Functionsave_image_async
Save image asynchronously
benchmark/models/depth_anything_3/utils/parallel_utils.py:54
Functionsave_image_async
Save image asynchronously
benchmark/models/r3/depth_anything_3/utils/parallel_utils.py:54
Functionsave_images_from_tensor
Save tensor frames as images. Args: tensor (torch.Tensor): Image tensor with shape (1, 4, H, W, 3), values in [0, 1] or [0, 255].
benchmark/models/omnivggt/utils/misc.py:235
Functionsave_intrinsics
(K_raw, path)
benchmark/models/omnivggt/utils/misc.py:156
Functionsave_pointcloud_ply
Save an (M,3) numpy point cloud as .ply (for debug / visualization).
benchmark/evaluation/metrics.py:1085
Methodsave_pointclouds
(self, output_path)
benchmark/models/scal3r/utils/pgo/optimizer.py:25
Methodsave_pointclouds
(self, save_path: str)
benchmark/models/scal3r/utils/pgo/processor.py:164
Functionsave_rgb_imgs
(imgs, path)
benchmark/models/omnivggt/utils/misc.py:168
Functionsave_to_bimask
(mask, path_name)
benchmark/models/page4d/layers/block.py:35
Functionsave_tum_poses
(traj, path)
benchmark/models/omnivggt/utils/misc.py:144
Functionse3_to_relative_pose_error
Compute rotation and translation errors between predicted and ground truth poses. This function assumes the input poses are world-to-camera (
benchmark/models/lingbot_map/utils/pose_enc.py:278
Functionseed_everything
Set the `seed` value for torch and numpy seeds. Also turns on deterministic execution for cudnn. Parameters: - seed: A hashable seed
benchmark/models/mapanything/utils/misc.py:53
Methodselect_by_index
Select an element from a list by an index. Supports data batches with different indices. Args: l (list): List with potent
benchmark/models/amb3r_root/amb3r/model_zoo.py:40
Methodselect_by_index
Select an element from a list by an index. Supports data batches with different indices. Args: l (list): List with potent
benchmark/models/amb3r_root/amb3r/model.py:185
Functionselect_first_batch
Remove batch dimension from all tensors in the inputs dictionary and optionally change data type. Args: inputs (dict): Dictionar
benchmark/models/omnivggt/utils/misc.py:203
Functionselect_keyframes_iteratively
Selects keyframes iteratively based on distance and confidence. Builds upon an initial set of keyframes by repeatedly adding a new keyframe.
benchmark/models/amb3r_root/amb3r/tools/keyframes.py:3
Functionselect_pairs_of_crops
(img_q, img_b, pos2d_in_query, pos2d_in_ref, maxdim=512, overlap=.5, forced_resolution=None)
benchmark/models/mast3r_root/mast3r/utils/coarse_to_fine.py:184
Functionselect_reference_view
Select a reference view from multiple views using the specified strategy. Args: x: Input tensor of shape (B, S, N, C) where
benchmark/models/r3/depth_anything_3/model/reference_view_selector.py:29
Methodset_downstream_head
(self, output_mode, head_type, landscape_only, depth_mode, conf_mode, patch_size, img_size, **kw)
benchmark/models/mast3r_root/mast3r/model.py:53
Functionset_dynamic_segment_anchor_frame_ids
Mark a fresh dynamic segment using replay-local frame IDs only.
benchmark/models/r3/R3/models/online/kv_cache.py:81
Methodsetup
(self, croconet)
benchmark/models/dust3r_root/dust3r/heads/linear_head.py:27
Methodsetup
(self, croconet)
benchmark/models/mast3r_root/dust3r/heads/linear_head.py:27
Methodshow
(self, show_pw_cams=False, show_pw_pts3d=False, cam_size=None, **kw)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:297
Methodshow
(self, show_pw_cams=False, show_pw_pts3d=False, cam_size=None, **kw)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:297
Functionshow_duster_pairs
(view1, view2, pred1, pred2)
benchmark/models/dust3r_root/dust3r/viz.py:90
Functionshow_duster_pairs
(view1, view2, pred1, pred2)
benchmark/models/mast3r_root/dust3r/viz.py:90
Functionshow_raw_pointcloud_with_cams
Visualization of a pointcloud with cameras imgs = (N, H, W, 3) or N-size list of [(H,W,3), ...] pts3d = (N, H, W, 3) or N-size list o
benchmark/models/dust3r_root/dust3r/viz.py:212
Functionshow_raw_pointcloud_with_cams
Visualization of a pointcloud with cameras imgs = (N, H, W, 3) or N-size list of [(H,W,3), ...] pts3d = (N, H, W, 3) or N-size list o
benchmark/models/mast3r_root/dust3r/viz.py:212
Functionshuffle_deque
(dq, seed=None)
benchmark/models/vggt/utils/eval_utils.py:30
Functionshuffle_deque
(dq, seed=None)
benchmark/models/fastvggt/utils/eval_utils.py:30
Functionsilu_backprop
Args: dy: [b, d, l], gradient of the outer loss wrt the y x: [b, d, l], input of the silu activation outs: dx: [b, d,
benchmark/models/zipmap/zipmap/layers/lact_with_act_ckpt_plain.py:13
Functionsilu_backprop
Args: dy: [b, d, l], gradient of the outer loss wrt the y x: [b, d, l], input of the silu activation outs: dx: [b, d,
benchmark/models/zipmap/zipmap/layers/lact_with_act_ckpt.py:13
Methodsize
(self)
benchmark/utils/cropping.py:58
Functionsparse_global_alignment
Sparse alignment with MASt3R imgs: list of image paths cache_path: path where to dump temporary files (str) lr1, niter1: lea
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:119
← previousnext →5,001–5,100 of 5,295, ranked by callers