MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 1 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
benchmark/models/omnivggt/heads/head_act.py:12
↓ 1 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
benchmark/models/page4d/heads/head_act.py:12
↓ 1 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
benchmark/models/fastvggt/heads/head_act.py:12
↓ 1 callersFunctionactivate_pose
Activate pose parameters with specified activation functions. Args: pred_pose_enc: Tensor containing encoded pose parameters [transl
benchmark/models/scal3r/utils/vggt/heads/head_act.py:14
↓ 1 callersFunctionactivate_pose_svd
Activate pose parameters with specified activation functions. Do SVD rotation part for rotation. Args: pred_pose_enc: Tensor con
benchmark/models/zipmap/zipmap/heads/head_act.py:56
↓ 1 callersFunctionactp
action on point cloud
benchmark/models/lingbot_map/utils/geometry.py:586
↓ 1 callersMethodadapt_tokens
(self, encoder_tokens)
benchmark/models/stream3r/croco/models/dpt_block.py:492
↓ 1 callersMethodadd_camera
(self, pose_c2w, focal=None, color=(0, 0, 0), image=None, imsize=None, cam_size=0.03)
benchmark/models/mast3r_root/dust3r/viz.py:190
↓ 1 callersMethodadd_edges_from_step
Add edges from a forward step. Applies scale to translation.
benchmark/models/r3/R3/models/online/fallback.py:422
↓ 1 callersMethodadd_negatives
(self, outdesc2, desc2, batchid, x2, y2)
benchmark/models/mast3r_root/mast3r/losses.py:361
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/worldmirror_root/src/models/layers/block.py:131
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/loger/models/layers/block.py:146
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/loger/models/dinov2/layers/block.py:148
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/streamvggt/layers/block.py:150
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/vggt/layers/block.py:136
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/stream3r/models/components/layers/block.py:167
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/omnivggt/layers/block.py:197
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/page4d/layers/block.py:207
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/fastvggt/layers/block.py:139
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/pi3/models/layers/block.py:146
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/pi3/models/dinov2/layers/block.py:148
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/scal3r/utils/vggt/layers/block.py:249
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/zipmap/zipmap/layers/block.py:129
↓ 1 callersFunctionadd_residual
(x, brange, residual, residual_scale_factor, scaling_vector=None)
benchmark/models/zipmap/zipmap/layers/block_ttt.py:159
↓ 1 callersMethodadd_sim3_constraint
(self, constraint)
benchmark/models/scal3r/utils/pgo/optimizer.py:19
↓ 1 callersFunctionadjust_extrinsic_rot90
(w2c: torch.Tensor, clockwise: bool)
benchmark/models/scal3r/utils/image_utils.py:90
↓ 1 callersFunctionadjust_intrinsic_rot90
( K: torch.Tensor, width: int, height: int, clockwise: bool, )
benchmark/models/scal3r/utils/image_utils.py:72
↓ 1 callersFunctionadjust_learning_rate_by_lr
(optimizer, lr)
benchmark/models/dust3r_root/dust3r/optim_factory.py:9
↓ 1 callersFunctionaffine_padding
(c2w: torch.Tensor)
benchmark/models/scal3r/utils/math_utils.py:27
↓ 1 callersFunctionaggreg_matches
(img1, list_matches)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:833
↓ 1 callersMethodaggregate_confs
(self, confs1, confs2)
benchmark/models/mast3r_root/mast3r/losses.py:474
↓ 1 callersFunctionalign_point_clouds_scale
(source_pc, target_pc)
benchmark/models/vggt/utils/eval_utils.py:511
↓ 1 callersFunctionalign_point_clouds_scale
(source_pc, target_pc)
benchmark/models/fastvggt/utils/eval_utils.py:511
↓ 1 callersMethodalign_se3
Return a 4x4 SE(3) matrix with R|t (no scaling) The objective function is ||R * src_xyz + t - tar_xyz||^2 Args: src_xyz
benchmark/models/scal3r/utils/pgo/aligner.py:19
↓ 1 callersMethodalign_sim3
Return a 4x4 Sim(3) Umeyama matrix with sR|t The objective function is ||s * R * src_xyz + t - tar_xyz||^2 Args: src_xyz
benchmark/models/scal3r/utils/pgo/aligner.py:54
↓ 1 callersFunctionangle_diff_vec3_numpy
Compute angle difference between 3D vectors using NumPy. Args: v1 (np.ndarray): First vector of shape (..., 3) v2 (np.ndarra
benchmark/models/mapanything/utils/geometry.py:1699
↓ 1 callersMethodapply_adaptive_modulation
Apply adaptive modulation to input tensor using scaling and shifting parameters
benchmark/models/worldmirror_root/src/models/heads/camera_head.py:161
↓ 1 callersMethodapply_camera_parameter_activation
Apply activation functions to camera parameter components Args: params: Tensor containing camera parameters [tra
benchmark/models/worldmirror_root/src/models/heads/camera_head.py:106
↓ 1 callersFunctionapply_color_map
( x: torch.Tensor, # " *batch" color_map: str = "inferno", )
benchmark/models/depth_anything_3/utils/visualize.py:102
↓ 1 callersFunctionapply_color_map
( x: torch.Tensor, # " *batch" color_map: str = "inferno", )
benchmark/models/r3/depth_anything_3/utils/visualize.py:102
↓ 1 callersFunctionapply_color_map_to_image
( image: torch.Tensor, # "*batch height width" color_map: str = "inferno", )
benchmark/models/depth_anything_3/utils/visualize.py:115
↓ 1 callersFunctionapply_color_map_to_image
( image: torch.Tensor, # "*batch height width" color_map: str = "inferno", )
benchmark/models/r3/depth_anything_3/utils/visualize.py:115
↓ 1 callersMethodapply_confidence_filter
Apply confidence filtering to Gaussian splats before pruning. Discard bottom p% confidence points, keep top (100-p)%.
benchmark/models/worldmirror_root/src/models/models/rasterization.py:265
↓ 1 callersFunctionapply_distortion
Apply distortion to normalized camera coordinates. Args: points: Array of normalized camera coordinates distortion_param
benchmark/models/fastvggt/dependency/distortion.py:11
↓ 1 callersMethodapply_inverse_logarithm_transform
Apply inverse logarithm transform: sign(y) * (exp(|y|) - 1) Args: x: Input tensor Returns:
benchmark/models/worldmirror_root/src/models/heads/camera_head.py:149
↓ 1 callersFunctionapply_log_to_norm
Normalize the input data and apply a logarithmic transformation based on the normalization factor. Args: input_data (torch.Tensor):
benchmark/models/mapanything/utils/geometry.py:1666
↓ 1 callersFunctionapply_metric_scaling
Apply metric scaling to depth based on camera intrinsics. Args: depth: Input depth tensor intrinsics: Camera intrinsics tens
benchmark/models/depth_anything_3/utils/alignment.py:118
↓ 1 callersFunctionapply_metric_scaling
Apply metric scaling to depth based on camera intrinsics. Args: depth: Input depth tensor intrinsics: Camera intrinsics tens
benchmark/models/r3/depth_anything_3/utils/alignment.py:118
↓ 1 callersMethodapply_rope
(self, q: Tensor, k: Tensor, rope: Tensor | Tuple[Tensor, Tensor])
benchmark/models/vggt_omega/models/layers/attention.py:83
↓ 1 callersFunctionapply_scaling_rules_to_cfg
(cfg)
benchmark/models/loger/models/dinov2/utils/config.py:21
↓ 1 callersFunctionapply_sky_segmentation
Apply sky segmentation. If is_conf_scores is True, `data_to_mask` are confidence scores (S, H, W) and the function returns a binary mask (0 f
benchmark/models/loger/utils/viser_utils.py:698
↓ 1 callersFunctionapply_transformation
( xyz: np.ndarray, s: float, R: np.ndarray, t: np.ndarray )
benchmark/models/scal3r/utils/pgo/aligner.py:287
↓ 1 callersFunctionapply_ttt
(model, agg_state_refs, dpt_state_refs, args, layer_index: int, dpt_layer_set: set[int])
benchmark/models/scal3r/pipelines/backend.py:180
↓ 1 callersFunctionarray_to_pil
Converts a NumPy array to a PIL image. Automatically: - Squeezes dimensions of size 1. - Moves the channel dimension (if it has s
benchmark/models/loger/utils/basic.py:108
↓ 1 callersFunctionasync_a2a_communicate
A2A communication for context parallelism. best used in communicate qkv Modified from Nvidia Transformer Engine.
benchmark/models/vgg_ttt/vggttt/utils/dist_att.py:66
↓ 1 callersMethodatt
(self)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/attention.py:64
↓ 1 callersMethodatt
(self)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/modules.py:241
↓ 1 callersMethodattn_pre
Phase 2 streaming only: norm1 + prepare_qkv fused as one compilable unit. Extracted as a named method so torch.compile can capture norm1 + qk
benchmark/models/lingbot_map/layers/block.py:217
↓ 1 callersFunctionauto_cam_size
(im_poses)
benchmark/models/dust3r_root/dust3r/viz.py:115
↓ 1 callersFunctionauto_cam_size
(im_poses)
benchmark/models/mast3r_root/dust3r/viz.py:115
↓ 1 callersFunctionaverage_transforms_with_weights
Calculates a weighted average of multiple 4x4 transformation matrices using a pre-computed vector of weights.
benchmark/models/amb3r_root/amb3r/tools/pose_align.py:77
↓ 1 callersFunctionbackproj
(K, depthmap, subsample)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:950
↓ 1 callersMethodbackward
(ctx, grad_res)
benchmark/models/dust3r_root/croco/models/curope/curope2d.py:25
↓ 1 callersMethodbackward
(ctx, grad_output)
benchmark/models/scal3r/utils/dist_utils.py:65
↓ 1 callersFunctionbatch_align_poses_umeyama
(ext_ref: torch.Tensor, ext_est: torch.Tensor)
benchmark/models/depth_anything_3/utils/pose_align.py:50
↓ 1 callersFunctionbatch_align_poses_umeyama
(ext_ref: torch.Tensor, ext_est: torch.Tensor)
benchmark/models/r3/depth_anything_3/utils/pose_align.py:50
↓ 1 callersFunctionbatched_triangulate
(pts2d, # [B, Ncams, Npts, 2] proj_mats)
benchmark/models/mast3r_root/mast3r/cloud_opt/triangulation.py:12
↓ 1 callersFunctionbbox_from_intrinsics_in_out
Compute the crop bbox from input/output intrinsics.
benchmark/utils/cropping.py:130
↓ 1 callersFunctionbbox_from_intrinsics_in_out
Calculate the bounding box for cropping based on input and output camera intrinsics. Args: input_camera_matrix (numpy.ndarray): Orig
benchmark/models/mapanything/utils/cropping.py:363
↓ 1 callersMethodbegin_step
Allocate the new frame's page and plan the FlashInfer prefill wrapper. `active_frame_ids` must include `new_frame_id` (at any position) — all
benchmark/models/r3/R3/models/online/flashinfer_backend.py:228
↓ 1 callersFunctionbidirectional_lact_swiglu_fused_ckpt
Note this function takes flattened k, v and lr. by flattent, the batch dimension B is merged into the sequence dimension L. The query
benchmark/models/zipmap/zipmap/layers/ttt.py:177
↓ 1 callersMethodblockwise_criterion
(self, descs1, descs2, confs1, confs2, valid_matches, euc, rng=np.random, shuffle=True)
benchmark/models/mast3r_root/mast3r/losses.py:413
↓ 1 callersFunctionbruteforce_reciprocal_nns
(A, B, device='cuda', block_size=None, dist='l2')
benchmark/models/mast3r_root/mast3r/fast_nn.py:17
↓ 1 callersFunctionbuild_block
(sequence, block_indices: List[int], block_height: int, block_width: int, block_overlap_size: int, block_datas
benchmark/models/scal3r/pipelines/backend.py:105
↓ 1 callersFunctionbuild_frustum_geometries
Generate a list of trimesh line-segment geometries for all frustums of a set of cameras. Args: extrinsics: (N, 3, 4) cam2world in
benchmark/utils/visualization.py:76
↓ 1 callersFunctionbuild_frustum_mesh_geometries
Convert each camera's frustum line segments into thin-cylinder triangle meshes (one merged Mesh per camera). Compared to build_frustum_geometries
benchmark/utils/visualization.py:146
↓ 1 callersFunctionbuild_group_list
(root_dir: str)
benchmark/models/r3/depth_anything_3/services/gallery.py:641
↓ 1 callersFunctionbuild_group_list
Build list of groups from gallery directory.
benchmark/models/r3/depth_anything_3/services/backend.py:490
↓ 1 callersFunctionbuild_group_manifest
(root_dir: str, group: str)
benchmark/models/r3/depth_anything_3/services/gallery.py:668
↓ 1 callersFunctionbuild_group_manifest
Build manifest for a specific group.
benchmark/models/r3/depth_anything_3/services/backend.py:518
↓ 1 callersFunctionbuild_image_only_block
( sequence, block_indices: List[int], height: int, width: int, overlap_size: int, data
benchmark/models/scal3r/utils/image_utils.py:359
↓ 1 callersFunctionbuild_loop_batches
( sequence, indices, loop_list, loop_size: int, height: int, width: int, dataset_c
benchmark/models/scal3r/utils/loop/loop_utils.py:17
↓ 1 callersMethodbuild_loop_constraints
( self, loop_constraints: List[Tuple[int, int, Tuple[float, np.ndarray, np.ndarray]]], )
benchmark/models/scal3r/utils/loop/optimizer.py:60
↓ 1 callersFunctionbuild_model
(args, only_teacher=False, img_size=224)
benchmark/models/loger/models/dinov2/models/__init__.py:14
↓ 1 callersFunctionbuild_model
(args, only_teacher=False, img_size=224)
benchmark/models/pi3/models/dinov2/models/__init__.py:14
↓ 1 callersFunctionbuild_online_pose_from_memory
Build absolute pose for current frame from memory frames' relative predictions.
benchmark/models/r3/R3/utils/pose_utils.py:216
↓ 1 callersFunctionbuild_online_rel_pose_graph
(merged_predictions, *, output_frame_ids=None)
benchmark/models/r3/R3/models/online/pose_resolution.py:54
↓ 1 callersFunctionbuild_online_revisit_frame_order
(frame_ids, revisit_frame_id)
benchmark/models/r3/R3/models/online/revisit.py:178
↓ 1 callersFunctionbuild_overall
Extract a condensed overall metric summary from the full report. Keeps only the mean values of the most important aggregated metrics for fast mod
benchmark/evaluation/report.py:175
↓ 1 callersFunctionbuild_pair_index
Build indices for all possible pairs of frames. Args: N: Number of frames B: Batch size Returns: i1, i2: Indice
benchmark/models/lingbot_map/utils/pose_enc.py:163
↓ 1 callersFunctionbuild_parser
()
benchmark/models/scal3r/run.py:11
↓ 1 callersFunctionbuild_sim3_loop_optimizer
()
benchmark/models/scal3r/utils/loop/loop_utils.py:13
↓ 1 callersFunctionbuild_vggsfm_tracker
Build and initialize the VGGSfM tracker. Args: model_path: Path to the model weights file. If None, weights are downloaded from Hugg
benchmark/models/page4d/dependency/vggsfm_utils.py:29
↓ 1 callersFunctioncalculate_in_frustum_mask
A function that takes in the depth, intrinsics and c2w matrices of two sets of views, and then works out which of the pixels in the first set
benchmark/models/worldmirror_root/src/models/utils/frustum.py:26
↓ 1 callersFunctioncalculate_index_mappings
Construct an order that switches [query_index] and [0] so that the content of query_index would be placed at [0]. Args: query_in
benchmark/models/page4d/dependency/vggsfm_utils.py:153
↓ 1 callersFunctioncalculate_unprojected_mask
Calcuate the loss mask for the target views in the batch
benchmark/models/worldmirror_root/src/models/utils/frustum.py:7
↓ 1 callersFunctioncam_quat_xyzw_to_world_quat_wxyz
(cam_quat_xyzw, c2w)
benchmark/models/depth_anything_3/model/utils/transform.py:184
↓ 1 callersFunctioncam_quat_xyzw_to_world_quat_wxyz
(cam_quat_xyzw, c2w)
benchmark/models/r3/depth_anything_3/model/utils/transform.py:184
↓ 1 callersFunctioncamera_dict_to_c2ws
(cameras: dict)
benchmark/models/scal3r/utils/cam_utils.py:67
↓ 1 callersFunctioncamera_loss_single
Computes translation, rotation, and focal loss for a batch of pose encodings. Args: pred_pose_enc: (N, D) predicted pose encodin
benchmark/models/amb3r_root/amb3r/loss.py:250
← previousnext →1,801–1,900 of 5,295, ranked by callers