MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 1 callersMethodset_downstream_head
(self, output_mode, head_type, landscape_only, depth_mode, conf_mode, patch_size, img_size,
benchmark/models/dust3r_root/dust3r/model.py:112
↓ 1 callersMethodset_downstream_head
(self, output_mode, head_type, landscape_only, depth_mode, conf_mode, patch_size, img_size,
benchmark/models/mast3r_root/dust3r/model.py:112
↓ 1 callersMethodset_freeze
(self, freeze)
benchmark/models/stream3r/models/stream3r.py:29
↓ 1 callersMethodset_freeze
(self, freeze)
benchmark/models/dust3r_root/dust3r/model.py:99
↓ 1 callersMethodset_freeze
(self, freeze: str)
benchmark/models/r3/R3/models/r3_wrapper/setup.py:21
↓ 1 callersMethodset_freeze
(self, freeze)
benchmark/models/mast3r_root/dust3r/model.py:99
↓ 1 callersFunctionset_sky_depth
(prediction: Prediction, sky_mask: np.ndarray, sky_depth_def: float = 98.0)
benchmark/models/depth_anything_3/utils/export/glb.py:27
↓ 1 callersFunctionset_sky_depth
(prediction: Prediction, sky_mask: np.ndarray, sky_depth_def: float = 98.0)
benchmark/models/r3/depth_anything_3/utils/export/glb.py:27
↓ 1 callersMethodset_state_tracking
(self, enable: bool)
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:144
↓ 1 callersFunctionsetup_camera_follow
Set up camera follow behavior driven by a frame slider.
benchmark/models/loger/utils/viser_utils.py:37
↓ 1 callersMethodshow
(self, show_cams=True)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:105
↓ 1 callersFunctionshow_raw_pointcloud
(pts3d, colors, point_size=2)
benchmark/models/dust3r_root/dust3r/viz.py:29
↓ 1 callersFunctionshow_raw_pointcloud
(pts3d, colors, point_size=2)
benchmark/models/mast3r_root/dust3r/viz.py:29
↓ 1 callersFunctionshow_reconstruction
(shapes_or_imgs, K, cam2w, pts3d, gt_cam2w=None, gt_K=None, cam_size=None, masks=None, **kw)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:1050
↓ 1 callersFunctionsigned_expm1
(x)
benchmark/models/dust3r_root/dust3r/cloud_opt/commons.py:78
↓ 1 callersFunctionsigned_expm1
(x)
benchmark/models/mast3r_root/dust3r/cloud_opt/commons.py:78
↓ 1 callersFunctionsigned_log1p
(x)
benchmark/models/dust3r_root/dust3r/cloud_opt/commons.py:73
↓ 1 callersFunctionsigned_log1p
(x)
benchmark/models/mast3r_root/dust3r/cloud_opt/commons.py:73
↓ 1 callersFunctionsilu_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/loger/models/ttt.py:20
↓ 1 callersFunctionsilu_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/vgg_ttt/vggttt/nets/ttt.py:42
↓ 1 callersFunctionsilu_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/ttt.py:33
↓ 1 callersFunctionsim_func
(p1, p2, gamma)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:942
↓ 1 callersFunctionsingle_all_to_all
(input, local_seq_2_local_head, group, async_op=False)
benchmark/models/vgg_ttt/vggttt/utils/dist_att.py:39
↓ 1 callersFunctionsingle_undistortion
Remove distortion from normalized camera coordinates using single step. Args: points: Array of distorted normalized camera coord
benchmark/models/fastvggt/dependency/distortion.py:42
↓ 1 callersFunctionsingle_undistortion
Apply undistortion to the normalized tracks using the given distortion parameters once. Args: params (torch.Tensor or numpy.ndarray)
benchmark/models/zipmap/zipmap/dependency/distortion.py:28
↓ 1 callersFunctionslerp_torch
Spherical Linear Interpolation (SLERP) for batch of quaternions using PyTorch. Args: q0: (N, 4) starting quaternions q1:
benchmark/models/amb3r_root/amb3r/tools/pose_interp.py:41
↓ 1 callersFunctionsliding_window_nd
Create sliding windows along multiple dimensions of the input array. This function applies sliding_window_1d sequentially along multiple axe
benchmark/models/mapanything/utils/geometry.py:1831
↓ 1 callersFunctionsolve_sparse
(A: csc_matrix, b: np.ndarray, freen: int)
benchmark/models/scal3r/utils/loop/fastloop/solve_python.py:7
↓ 1 callersFunctionsolve_system_py
( J_Ginv_i: torch.Tensor, J_Ginv_j: torch.Tensor, ii: torch.Tensor, jj: torch.Tensor, res:
benchmark/models/scal3r/utils/loop/fastloop/solve_python.py:19
↓ 1 callersFunctionsparse_scene_optimizer
(imgs, subsample, imsizes, pps, base_focals, core_depth, anchors, corres, corres2d,
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:196
↓ 1 callersFunctionspectral_clustering
(graph, k=None, normalized_cuts=False)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:927
↓ 1 callersFunctionspectral_projection_depth
(K, depthmap, subsample, k=64, cache_path='', normalized_cuts=True, gamma=7, min
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:957
↓ 1 callersFunctionspectral_projection_of_depthmaps
(imgs, intrinsics, depthmaps, subsample, cache_path=None, **kw)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:1000
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/worldmirror_root/src/models/utils/rotation.py:114
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/loger/utils/rotation.py:126
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/streamvggt/utils/rotation.py:126
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/vggt/utils/rotation.py:120
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/vgg_ttt/vggttt/nets/vggt/utils/rotation.py:126
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/stream3r/models/components/utils/rotation.py:126
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/lingbot_map/utils/geometry.py:724
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/lingbot_map/utils/rotation.py:120
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/depth_anything_3/utils/geometry.py:203
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/depth_anything_3/model/utils/transform.py:169
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/vggt_omega/utils/rotation.py:118
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/omnivggt/utils/rotation.py:126
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/page4d/utils/rotation.py:120
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/fastvggt/utils/rotation.py:120
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/mapanything/utils/geometry.py:730
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/r3/depth_anything_3/utils/geometry.py:203
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/r3/depth_anything_3/model/utils/transform.py:169
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/r3/R3/utils/rotation.py:126
↓ 1 callersFunctionstandardize_quaternion
Convert a unit quaternion to a standard form: one in which the real part is non negative. Args: quaternions: Quaternions with re
benchmark/models/zipmap/zipmap/utils/rotation.py:115
↓ 1 callersMethodstate_dict
(self, trainable=True)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:123
↓ 1 callersFunctionstop_camera_follow
()
benchmark/models/loger/utils/viser_utils.py:132
↓ 1 callersFunctionstore_dpt_state_layer
(tensor: torch.Tensor, args, block_index: int, layer_index: int)
benchmark/models/scal3r/utils/offload_utils.py:125
↓ 1 callersFunctionsummarize_online_frame_feat
(feat: torch.Tensor | None)
benchmark/models/r3/R3/models/online_utils.py:7
↓ 1 callersMethodsupports_gt_prior
(self)
benchmark/evaluation/model_adapters/da3_adapter.py:81
↓ 1 callersMethodsupports_metric_depth
(self)
benchmark/evaluation/model_adapters/r3_adapter.py:520
↓ 1 callersFunctionsvd_orthogonalize
Convert 9D representation to SO(3) using SVD orthogonalization. Args: m: [BATCH, 3, 3] 3x3 matrices. Returns: [BATCH, 3, 3]
benchmark/models/zipmap/zipmap/heads/head_act.py:34
↓ 1 callersMethodsvd_orthogonalize
Convert 9D representation to SO(3) using SVD orthogonalization. This is a more stable implementation using torch.linalg.svd.
benchmark/models/loger/models/layers/camera_head.py:134
↓ 1 callersMethodsvd_orthogonalize
Convert 9D representation to SO(3) using SVD orthogonalization. Args: m: [BATCH, 3, 3] 3x3 matrices. Returns: [B
benchmark/models/pi3/models/layers/camera_head.py:74
↓ 1 callersFunctionsymmetric_inference
(model, img1, img2, device)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:609
↓ 1 callersFunctiontest_one_epoch
(model: torch.nn.Module, criterion: torch.nn.Module, data_loader: Sized, device: torch.devi
benchmark/models/amb3r_root/amb3r/training.py:149
↓ 1 callersFunctionthreshold_depth_map
Thresholds a depth map using percentile-based limits and optional maximum depth clamping. Steps: 1. If `max_depth > 0`, clamp all valu
benchmark/utils/misc.py:4
↓ 1 callersFunctionthreshold_depth_map
Thresholds a depth map using percentile-based limits and optional maximum depth clamping. Steps: 1. If `max_depth > 0`, clamp all valu
benchmark/models/amb3r_root/amb3r/tools/utils.py:3
↓ 1 callersFunctionto_c2w
(scale: float, rotation: np.ndarray, translation: np.ndarray)
benchmark/models/scal3r/utils/loop/loop_utils.py:100
↓ 1 callersFunctionto_homogeneous
(extrinsics)
benchmark/models/vggt/utils/eval_utils.py:438
↓ 1 callersFunctionto_homogeneous
(extrinsics)
benchmark/models/fastvggt/utils/eval_utils.py:438
↓ 1 callersFunctionto_numpy
(x)
benchmark/models/stream3r/dust3r/utils/device.py:48
↓ 1 callersFunctionto_numpy
(x)
benchmark/models/omnivggt/utils/device.py:42
↓ 1 callersFunctionto_pil_image
Convert tensor or array to PIL Image for processing.
benchmark/models/mapanything/utils/image.py:506
↓ 1 callersFunctiontoken_merge_bipartite2d
Divide tokens into source (src) and destination (dst) groups, and merge r tokens from src to dst. dst tokens are selected by randomly choosin
benchmark/models/fastvggt/merging/merge.py:48
↓ 1 callersFunctiontorch_inverse_3x3
a, b, c | m00, m01, m02 d, e, f | m10, m11, m12 g, h, i | m20, m21, m22
benchmark/models/scal3r/utils/math_utils.py:68
↓ 1 callersFunctiontorch_quantile
Better torch.quantile for one SCALAR quantile. Using torch.kthvalue. Better than torch.quantile because: - No 2**24 input size limit (pyt
benchmark/models/amb3r_root/amb3r/loss.py:708
↓ 1 callersMethodtrain
(self, mode=True)
benchmark/models/mast3r_root/mast3r/model.py:120
↓ 1 callersFunctiontrain_one_epoch
(model: torch.nn.Module, criterion: torch.nn.Module, data_loader: Sized, optimizer: torch.
benchmark/models/amb3r_root/amb3r/training.py:348
↓ 1 callersFunctiontransform_cam2world
Transform points from 3D camera coordinates to 3D world coordinates.
benchmark/models/depth_anything_3/utils/geometry.py:263
↓ 1 callersFunctiontransform_cam2world
Transform points from 3D camera coordinates to 3D world coordinates.
benchmark/models/r3/depth_anything_3/utils/geometry.py:263
↓ 1 callersFunctiontransform_pose_using_quats_and_trans_2_to_1
Transform quats and translation of pose2 from absolute frame (pose2 to world) to relative frame (pose2 to pose1). Args: - quats1: 4
benchmark/models/mapanything/utils/geometry.py:814
↓ 1 callersFunctiontransform_pts_global_to_local
Transform points from global coordinates to local coordinates based on a reference pose. Args: pts (torch.Tensor): The points in
benchmark/models/amb3r_root/amb3r/tools/pts_align.py:47
↓ 1 callersFunctiontransform_rigid
Apply a rigid-body transformation to points or vectors.
benchmark/models/depth_anything_3/utils/geometry.py:251
↓ 1 callersFunctiontransform_rigid
Apply a rigid-body transformation to points or vectors.
benchmark/models/r3/depth_anything_3/utils/geometry.py:251
↓ 1 callersMethodtransform_video
frames: (T,H,W,D) or list of (H,W,D) returns: (T,H,W,3)
benchmark/models/depth_anything_3/utils/pca_utils.py:269
↓ 1 callersMethodtransform_video
frames: (T,H,W,D) or list of (H,W,D) returns: (T,H,W,3)
benchmark/models/r3/depth_anything_3/utils/pca_utils.py:269
↓ 1 callersFunctiontranslation_angle
Calculate translation angle error between ground truth and predicted translations. Args: tvec_gt: Ground truth translation vectors
benchmark/models/lingbot_map/utils/pose_enc.py:206
↓ 1 callersFunctiontriangle_intersection_check
Check if two triangles intersect. Args: triangles1 (torch.Tensor): Bx3x3 Vertices of the first batch of triangles. triangles
benchmark/models/mapanything/utils/wai/intersection_check.py:152
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, S,
benchmark/models/vggt/heads/camera_head.py:95
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions with gradient checkpointing per iteration. Args: pose_tokens (torch.Tensor):
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/camera_head.py:146
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, S,
benchmark/models/stream3r/models/components/heads/camera_head.py:141
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, 1,
benchmark/models/lingbot_map/heads/camera_head.py:102
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, S,
benchmark/models/lingbot_map/heads/camera_head.py:315
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, 1,
benchmark/models/omnivggt/heads/camera_head.py:105
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, 1,
benchmark/models/page4d/heads/camera_head.py:94
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, 1,
benchmark/models/fastvggt/heads/camera_head.py:95
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, 1,
benchmark/models/scal3r/utils/vggt/heads/camera_head.py:114
↓ 1 callersMethodtrunk_fn
Iteratively refine camera pose predictions. Args: pose_tokens (torch.Tensor): Normalized camera tokens with shape [B, S,
benchmark/models/zipmap/zipmap/heads/camera_head.py:138
↓ 1 callersMethodttt_apply
Only global attention is used for TTT gradient computation
benchmark/models/scal3r/utils/vggt/models/aggregator.py:686
↓ 1 callersMethodttt_gradient
Only global attention is used for TTT gradient computation
benchmark/models/scal3r/utils/vggt/models/aggregator.py:630
↓ 1 callersMethodttt_update
( self, index: int, tokens: torch.Tensor, w0_grad: torch.Tensor, w1_gr
benchmark/models/scal3r/utils/vggt/models/aggregator.py:658
↓ 1 callersFunctionumeyama_alignment
(src, dst, estimate_scale=True)
benchmark/models/vggt/utils/eval_utils.py:54
← previousnext →2,801–2,900 of 5,295, ranked by callers