MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

Functioninterleave
(tensor1, tensor2)
benchmark/models/omnivggt/utils/misc.py:69
Functioninterpolate_pos_embed
(model, checkpoint_model)
benchmark/models/loger/models/layers/pos_embed.py:78
Functioninterpolate_pos_embed
(model, checkpoint_model)
benchmark/models/stream3r/croco/models/pos_embed.py:85
Functioninterpolate_pos_embed
(model, checkpoint_model)
benchmark/models/dust3r_root/croco/models/pos_embed.py:78
Functioninterpolate_pos_embed
(model, checkpoint_model)
benchmark/models/pi3/models/layers/pos_embed.py:78
Functioninterpolate_pos_embed
(model, checkpoint_model)
benchmark/models/mast3r_root/croco/models/pos_embed.py:78
Functioninv
Invert a torch or numpy matrix
benchmark/models/loger/utils/geometry.py:350
Functioninv
Invert a torch or numpy matrix
benchmark/models/stream3r/dust3r/utils/geometry.py:126
Functioninv
Invert a torch or numpy matrix
benchmark/models/omnivggt/utils/geometry.py:524
Functioninv
Invert a torch or numpy matrix
benchmark/models/mapanything/utils/geometry.py:1040
Functioninv
Invert a torch or numpy matrix
benchmark/models/pi3/utils/geometry.py:313
Functioninvalid_to_nans
Replace invalid values in an array with NaN values based on a validity mask. Parameters: - arr: Input array (typically a PyTorch tensor)
benchmark/models/mapanything/utils/misc.py:70
Functionis_str
(value)
benchmark/models/scal3r/engine/misc.py:6
Functionis_symmetrized
(gt1, gt2)
benchmark/models/stream3r/dust3r/utils/misc.py:39
Functionis_symmetrized
(gt1, gt2)
benchmark/models/omnivggt/utils/misc.py:53
Functionl05_loss
(x, y)
benchmark/models/mast3r_root/mast3r/cloud_opt/utils/losses.py:11
Functionl1_dist
(a, b, weight)
benchmark/models/dust3r_root/dust3r/cloud_opt/commons.py:66
Functionl1_dist
(a, b, weight)
benchmark/models/mast3r_root/dust3r/cloud_opt/commons.py:66
Functionl2_dist
(a, b, weight)
benchmark/models/dust3r_root/dust3r/cloud_opt/commons.py:62
Functionl2_dist
(a, b, weight)
benchmark/models/mast3r_root/dust3r/cloud_opt/commons.py:62
Functionlcm
(a, b)
benchmark/models/scal3r/utils/math_utils.py:110
Functionlinear_schedule
(alpha, lr_base, lr_end=0)
benchmark/models/mast3r_root/mast3r/cloud_opt/utils/schedules.py:10
Functionlist_datasets
()
visualize_benchmark_web.py:1538
Methodlist_directory
(self, path)
benchmark/models/r3/depth_anything_3/services/gallery.py:754
Functionlist_scenes
List scenes with optional filtering.
visualize_benchmark_web.py:1559
Functionlist_tags
Return all unique tag axes and values.
visualize_benchmark_web.py:1549
Methodlist_tags
List all tag axes and their possible values.
benchmark/datasets/benchmark_dataset.py:81
Functionlist_tasks
List all tasks.
benchmark/models/r3/depth_anything_3/services/backend.py:1259
Functionload
( file: Union[str, PathLike[str], FileLikeObject], file_format: Optional[str] = None, **kwargs, )
benchmark/models/scal3r/engine/io.py:22
Functionload_and_preprocess_images
A quick start function to load and preprocess images for model input. This assumes the images should have the same shape for easier batching,
benchmark/models/streamvggt/utils/load_fn.py:12
Functionload_and_preprocess_images
A quick start function to load and preprocess images for model input. This assumes the images should have the same shape for easier batching,
benchmark/models/vggt/utils/load_fn.py:188
Functionload_and_preprocess_images
A quick start function to load and preprocess images for model input. This assumes the images should have the same shape for easier batching,
benchmark/models/lingbot_map/utils/load_fn.py:100
Functionload_and_preprocess_images
Load images for VGGT-Omega inference. `balanced` keeps the total token count close to image_resolution**2. `max_size` resizes the longest sid
benchmark/models/vggt_omega/utils/load_fn.py:15
Functionload_and_preprocess_images
A quick start function to load and preprocess images for model input. This assumes the images should have the same shape for easier batching,
benchmark/models/page4d/utils/load_fn.py:97
Functionload_and_preprocess_images
A quick start function to load and preprocess images for model input. This assumes the images should have the same shape for easier batching,
benchmark/models/fastvggt/utils/load_fn.py:188
Functionload_and_preprocess_images
A quick start function to load and preprocess images for model input. This assumes the images should have the same shape for easier batching,
benchmark/models/zipmap/zipmap/utils/load_fn.py:93
Functionload_and_preprocess_images_downscale
Load and preprocess images by center padding to new dimensions and resizing to target size. Also returns the position information of original
benchmark/models/vggt/utils/load_fn.py:99
Functionload_and_preprocess_images_downscale
Load and preprocess images by center padding to new dimensions and resizing to target size. Also returns the position information of original
benchmark/models/fastvggt/utils/load_fn.py:99
Functionload_and_preprocess_images_square
Load and preprocess images by center padding to square and resizing to target size. Also returns the position information of original pixels
benchmark/models/vggt/utils/load_fn.py:13
Functionload_and_preprocess_images_square
Load and preprocess images by center padding to square and resizing to target size. Also returns the position information of original pixels
benchmark/models/lingbot_map/utils/load_fn.py:16
Functionload_and_preprocess_images_square
Load and preprocess images by center padding to square and resizing to target size. Also returns the position information of original pixels
benchmark/models/page4d/utils/load_fn.py:13
Functionload_and_preprocess_images_square
Load and preprocess images by center padding to square and resizing to target size. Also returns the position information of original pixels
benchmark/models/fastvggt/utils/load_fn.py:13
Functionload_and_preprocess_images_square
Load and preprocess images by center padding to square and resizing to target size. Also returns the position information of original pixels
benchmark/models/zipmap/zipmap/utils/load_fn.py:9
Functionload_image
(path: Union[str, np.ndarray], ratio: float = 1.0)
benchmark/models/scal3r/utils/data_utils.py:139
Functionload_images
open and convert all images in a list or folder to proper input format for DUSt3R
benchmark/models/dust3r_root/dust3r/utils/image.py:74
Functionload_images
Open and convert all images in a list or folder to proper input format for model Args: folder_or_list (str or list): Path to folder
benchmark/models/mapanything/utils/image.py:147
Functionload_images
open and convert all images in a list or folder to proper input format for DUSt3R
benchmark/models/mast3r_root/dust3r/utils/image.py:74
Functionload_images_as_tensor
Loads images from a directory or video, resizes them to a uniform size, then converts and stacks them into a single [N, 3, H, W] PyTorch tens
benchmark/models/loger/utils/basic.py:11
Functionload_images_rgb
(image_paths: List[Path])
benchmark/models/vggt/utils/eval_utils.py:582
Functionload_images_rgb
(image_paths: List[Path])
benchmark/models/fastvggt/utils/eval_utils.py:582
Functionload_model
(model_name, ckpt_path=None)
benchmark/models/amb3r_root/amb3r/model_zoo.py:10
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/dust3r_adapter.py:196
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/vggt_omega_adapter.py:38
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/mast3r_adapter.py:186
Methodload_model
Load the Scal3R model into memory.
benchmark/evaluation/model_adapters/scal3r_adapter.py:46
Methodload_model
(self, checkpoint=None, device="cuda", **kwargs)
benchmark/evaluation/model_adapters/pi_long_adapter.py:48
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/da3_streaming_adapter.py:70
Methodload_model
Load model weights. Args: checkpoint: model weights path (optional; some models have a default path) device: inferenc
benchmark/evaluation/model_adapters/base_adapter.py:30
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/worldmirror_adapter.py:64
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/infinitevggt_adapter.py:40
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/vggt_adapter.py:37
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/page4d_adapter.py:38
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/streamvggt_adapter.py:39
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/amb3r_adapter.py:132
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/vgg_ttt_adapter.py:53
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/da3nested_adapter.py:44
Methodload_model
(self, checkpoint=None, device="cuda")
benchmark/evaluation/model_adapters/stream3r_adapter.py:50
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/loger_adapter.py:56
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/fastvggt_adapter.py:40
Methodload_model
(self, checkpoint=None, device="cuda")
benchmark/evaluation/model_adapters/omnivggt_adapter.py:38
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/mapanything_adapter.py:37
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/lingbot_map_adapter.py:68
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/da3_adapter.py:59
Methodload_model
(self, checkpoint=None, device="cuda")
benchmark/evaluation/model_adapters/pi3_adapter.py:38
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/lingbot_map_stream_adapter.py:64
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/zipmap_adapter.py:99
Methodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/vggt_long_adapter.py:48
Methodload_model
(self, checkpoint=None, device="cuda")
benchmark/evaluation/model_adapters/pi3x_adapter.py:40
Functionload_multimodal_data
Loads images (using strict original logic) and aligns optional conditions (poses, depths, intrinsics). Args: path: Path to image
benchmark/models/loger/utils/basic.py:228
Functionload_poses
(path)
benchmark/models/vggt/utils/eval_utils.py:352
Functionload_poses
(path)
benchmark/models/fastvggt/utils/eval_utils.py:352
Functionload_pretrained_nested_weights
Load pretrained weights for a nested model with both main and metric branches. Args: model: Nested model instance main_model
benchmark/models/r3/depth_anything_3/utils/model_loading.py:116
Functionload_pretrained_weights
(model, pretrained_weights, checkpoint_key)
benchmark/models/loger/models/dinov2/utils/utils.py:20
Functionload_pretrained_weights
Load pretrained weights for a single model. Args: model: Model instance to load weights into model_path: Path to the pretrai
benchmark/models/r3/depth_anything_3/utils/model_loading.py:90
Methodload_pretrained_weights
(self)
benchmark/models/vgg_ttt/vggttt/nets/vggt/models/vggt.py:123
Methodload_state_dict
(self, data)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:127
Methodload_state_dict
(self, data)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:127
Functionload_weights
Loads weights into a model from a state. Additionally considers the case where there is a shape mismatch which usually leads to an error.
benchmark/models/vgg_ttt/vggttt/utils/optim.py:99
Functionlog
(*parts: Any)
benchmark/models/scal3r/utils/console_utils.py:53
Functionlog_exceptions
(logger: logging.Logger, message: str)
benchmark/models/scal3r/utils/console_utils.py:58
Functionlog_online_memory_selection
( info: Dict[str, Any], similarity_threshold: float, )
benchmark/models/r3/R3/models/online_utils.py:42
Methodloss
(self, desc1, desc2, valid_matches=None, euc=False)
benchmark/models/mast3r_root/mast3r/losses.py:245
Methodloss
(self, desc1, desc2, valid_matches=None, euc=False)
benchmark/models/mast3r_root/mast3r/losses.py:331
Functionloss_2d
(K, w2cam, pts3d, pix_loss)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:415
Functionloss_3d
(K, w2cam, pts3d, pix_loss)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:385
Functionloss_of_one_batch_multi_view
Calculate loss for a batch with multiple views. Args: batch (list): List of view dictionaries containing input data. model (
benchmark/models/mapanything/utils/inference.py:50
Functionlstsq_alignment
Least-squares affine alignment: gt ≈ s * pred + t. Args: pred_depth: (H, W) gt_depth: (H, W) valid_mask: (H, W) bool
benchmark/evaluation/alignment.py:33
Functionmake_dense_pts3d
(intrinsics, cam2w, depthmaps, canonical_paths, subsample, device='cuda')
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:542
Functionmake_pairs
(imgs, scene_graph='complete', prefilter=None, symmetrize=True, sim_mat=None)
benchmark/models/mast3r_root/mast3r/image_pairs.py:11
Functionmake_pairs
(imgs, scene_graph='complete', prefilter=None, symmetrize=True)
benchmark/models/mast3r_root/dust3r/image_pairs.py:11
← previousnext →4,701–4,800 of 5,295, ranked by callers