MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 3 callersFunctionaggregate_metric_dict
Aggregate a list of metric dicts, computing mean/median/std. Non-finite values (NaN / +/-Inf) are treated as bad cases and excluded. Typical sour
benchmark/evaluation/report.py:11
↓ 3 callersFunctionalign_overlapping_chunks
Align point clouds of two overlapping chunks: point_map2 → point_map1 coordinate frame. Args: point_map1: (B, H, W, 3) world-coordinate p
benchmark/utils/sim3_align.py:82
↓ 3 callersFunctionalign_poses_umeyama
Align estimated trajectory to reference using Umeyama Sim(3). Default no RANSAC; if ransac=True, use RANSAC (max iterations default 10).
benchmark/models/depth_anything_3/utils/pose_align.py:158
↓ 3 callersFunctionalign_poses_umeyama
Align estimated trajectory to reference using Umeyama Sim(3). Default no RANSAC; if ransac=True, use RANSAC (max iterations default 10).
benchmark/models/r3/depth_anything_3/utils/pose_align.py:158
↓ 3 callersFunctionanchor_depth_offsets
(canon_depth, pixels, subsample=8)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:896
↓ 3 callersFunctionapply_ema
Apply exponential moving average smoothing over time.
benchmark/models/loger/utils/viser_utils.py:24
↓ 3 callersMethodapply_parameter_activation
Apply specified activation function to parameter tensor Args: tensor: Tensor containing parameter values
benchmark/models/worldmirror_root/src/models/heads/camera_head.py:127
↓ 3 callersFunctionapply_sim3_to_c2w
Apply SIM(3) transform to cam2world 4x4 pose matrices. Args: c2w_44: (N, 4, 4) cam2world homogeneous matrices s: scale R:
benchmark/utils/sim3_align.py:191
↓ 3 callersFunctionaverage_pose_candidates
( candidate_pose_enc: torch.Tensor, weights: torch.Tensor, rotation_weights: torch.Tensor | None =
benchmark/models/r3/R3/utils/pose_utils.py:188
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/streamvggt/heads/head_act.py:29
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/vggt/heads/head_act.py:38
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/head_act.py:38
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/stream3r/models/components/heads/head_act.py:38
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/lingbot_map/heads/head_act.py:38
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/omnivggt/heads/head_act.py:38
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/page4d/heads/head_act.py:38
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/fastvggt/heads/head_act.py:38
↓ 3 callersFunctionbase_pose_act
Apply basic activation function to pose parameters. Args: pose_enc: Tensor containing encoded pose parameters act_type: Acti
benchmark/models/scal3r/utils/vggt/heads/head_act.py:51
↓ 3 callersFunctionbfs
(tree, start_node)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:1022
↓ 3 callersFunctionbuild_map_processor
(alignment: str, **kwargs)
benchmark/models/scal3r/utils/loop/loop_utils.py:9
↓ 3 callersMethodbuild_visible_page_table
Return page IDs in strict order: scale → window → special. Placing special pages last means only the final page may be partially
benchmark/models/lingbot_map/layers/flashinfer_cache.py:438
↓ 3 callersFunctionclean_pointcloud
Method: 1) express all 3d points in each camera coordinate frame 2) if they're in front of a depthmap --> then lower their confidence
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:370
↓ 3 callersFunctioncompose_relative_pose
(rel_pose_enc: torch.Tensor, abs_pose_enc: torch.Tensor)
benchmark/models/r3/R3/utils/pose_utils.py:169
↓ 3 callersMethodcompute_last_page_len
Valid token count in the last page of the visible sequence. - No special pages → last page is a patch page.
benchmark/models/lingbot_map/layers/flashinfer_cache.py:452
↓ 3 callersFunctioncompute_sky_mask
Compute non-sky mask from sky prediction. Args: sky_prediction: Sky prediction tensor threshold: Threshold for sky classific
benchmark/models/depth_anything_3/utils/alignment.py:54
↓ 3 callersFunctioncompute_sky_mask
Compute non-sky mask from sky prediction. Args: sky_prediction: Sky prediction tensor threshold: Threshold for sky classific
benchmark/models/r3/depth_anything_3/utils/alignment.py:54
↓ 3 callersFunctionconvert_general_state_dict
Convert general model state dict to match current model architecture. Args: state_dict: Original state dictionary Returns:
benchmark/models/r3/depth_anything_3/utils/model_loading.py:25
↓ 3 callersFunctionconvert_ray_dirs_depth_along_ray_pose_trans_quats_to_pointmap
Convert ray directions, depth along ray, pose translation, and unit quaternions (representing pose rotation) to a pointmap in world frame.
benchmark/models/mapanything/utils/geometry.py:855
↓ 3 callersFunctionddp_allreduce
( x: torch.Tensor, group=None, )
benchmark/models/scal3r/utils/dist_utils.py:42
↓ 3 callersFunctiondepthmap_to_pts3d
Args: - depthmap (BxHxW array): - pseudo_focal: [B,H,W] ; [B,2,H,W] or [B,1,H,W] Returns: pointmap of absolute coordi
benchmark/models/dust3r_root/dust3r/utils/geometry.py:114
↓ 3 callersMethoderror
(self, *args, **kwargs)
benchmark/models/r3/depth_anything_3/utils/logger.py:61
↓ 3 callersFunctionestimate_focal
(pts3d_i, pp=None)
benchmark/models/dust3r_root/dust3r/cloud_opt/init_im_poses.py:233
↓ 3 callersFunctionestimate_focal
(pts3d_i, pp=None)
benchmark/models/mast3r_root/dust3r/cloud_opt/init_im_poses.py:233
↓ 3 callersFunctionestimate_focal_knowing_depth
Reprojection method, for when the absolute depth is known: 1) estimate the camera focal using a robust estimator 2) reproject points
benchmark/models/mast3r_root/dust3r/post_process.py:12
↓ 3 callersFunctionevaluate_scene
Evaluate a single scene. Args: eval_metrics: list of metric categories to evaluate. Allowed values: - "depth": depth metrics
benchmark/evaluation/run_benchmark.py:142
↓ 3 callersFunctionexport_pts
( pts: torch.Tensor | np.ndarray, color: torch.Tensor | np.ndarray | None = None, normal: torch.Te
benchmark/models/scal3r/utils/data_utils.py:201
↓ 3 callersFunctionextri_intri_to_pose_encoding
Convert camera extrinsics and intrinsics to a compact pose encoding.
benchmark/models/r3/depth_anything_3/model/utils/transform.py:19
↓ 3 callersFunctionfast_weight_swish_glu_fwd
( q: torch.Tensor, w0: torch.Tensor, w1: torch.Tensor, w2: torch.Tensor, )
benchmark/models/vgg_ttt/vggttt/nets/ttt.py:88
↓ 3 callersMethodforward
(self, x: Tensor, attn_bias=None)
benchmark/models/loger/models/layers/attention.py:113
↓ 3 callersMethodforward
Forward pass of AMB3R 1) front-end processing 2) back-end processing
benchmark/models/amb3r_root/amb3r/model.py:160
↓ 3 callersMethodforward
(self, x: Tensor, attn_bias=None)
benchmark/models/pi3/models/layers/attention.py:56
↓ 3 callersFunctiongenerate_coordinate_frame
Generate a coordinate frame given perpendicular, unit-length Y and Z vectors.
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:205
↓ 3 callersFunctiongenerate_coordinate_frame
Generate a coordinate frame given perpendicular, unit-length Y and Z vectors.
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:205
↓ 3 callersFunctionget_adapter
Get a registered model adapter by name.
benchmark/evaluation/model_adapters/__init__.py:12
↓ 3 callersMethodget_all_pts3d
(self, gt1, gt2, pred1, pred2, dist_clip=None)
benchmark/models/dust3r_root/dust3r/losses.py:158
↓ 3 callersMethodget_all_pts3d
(self, gt1, gt2, pred1, pred2, dist_clip=None)
benchmark/models/mast3r_root/mast3r/losses.py:43
↓ 3 callersMethodget_all_pts3d
(self, gt1, gt2, pred1, pred2, dist_clip=None)
benchmark/models/mast3r_root/dust3r/losses.py:158
↓ 3 callersFunctionget_cluster_type
(cluster_type: Optional[ClusterType] = None)
benchmark/models/loger/models/dinov2/utils/cluster.py:31
↓ 3 callersFunctionget_dtype
(args)
benchmark/models/amb3r_root/amb3r/training.py:340
↓ 3 callersMethodget_masks
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:197
↓ 3 callersMethodget_masks
(self)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:197
↓ 3 callersMethodget_pose
Get stored keyframe pose encoding.
benchmark/models/r3/R3/models/online/fallback.py:1083
↓ 3 callersMethodget_pw_poses
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:191
↓ 3 callersMethodget_pw_poses
(self)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:191
↓ 3 callersFunctionget_rays_in_camera_frame
Convert camera intrinsics to a raymap (ray origins + directions) in camera frame. Note: Currently only supports pinhole camera model. Ar
benchmark/models/mapanything/utils/geometry.py:186
↓ 3 callersFunctionget_world_size
()
benchmark/models/scal3r/utils/dist_utils.py:25
↓ 3 callersFunctionhomogenize_points
Append a '1' along the final dimension of the tensor (i.e. convert xyz->xyz1)
benchmark/models/worldmirror_root/src/models/utils/frustum.py:92
↓ 3 callersFunctionhomogenize_points
Convert batched points (xyz) to (xyz1).
benchmark/models/loger/utils/geometry.py:145
↓ 3 callersFunctionhomogenize_points
Convert batched points (xyz) to (xyz1).
benchmark/models/pi3/utils/geometry.py:108
↓ 3 callersFunctionintegrate_camera_into_scene
Integrates a fake camera mesh into the 3D scene. Args: scene (trimesh.Scene): The 3D scene to add the camera model. transfor
benchmark/models/loger/utils/visual_util.py:466
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/streamvggt/heads/head_act.py:106
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/vggt/heads/head_act.py:115
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/head_act.py:115
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/stream3r/models/components/heads/head_act.py:115
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/lingbot_map/heads/head_act.py:115
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/omnivggt/heads/head_act.py:115
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/page4d/heads/head_act.py:115
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/fastvggt/heads/head_act.py:115
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/scal3r/utils/vggt/heads/head_act.py:171
↓ 3 callersFunctioninverse_log_transform
Apply inverse log transform: sign(y) * (exp(|y|) - 1) Args: y: Input tensor Returns: Transformed tensor
benchmark/models/zipmap/zipmap/heads/head_act.py:178
↓ 3 callersFunctionload_config
Load a configuration. Will resolve inheritance. Supports both file paths and module paths (e.g., depth_anything_3.configs.giant).
benchmark/models/depth_anything_3/cfg.py:31
↓ 3 callersFunctionload_config
Load a configuration. Will resolve inheritance. Supports both file paths and module paths (e.g., depth_anything_3.configs.giant).
benchmark/models/r3/depth_anything_3/cfg.py:35
↓ 3 callersMethodload_model
(self)
benchmark/models/scal3r/utils/loop/detector.py:95
↓ 3 callersMethodload_model
(self, checkpoint=None, device="cuda", weights_dir=None)
benchmark/evaluation/model_adapters/r3_adapter.py:328
↓ 3 callersMethodload_state_dict
(self, state_dict, strict=True)
benchmark/models/pi3/models/layers/prope.py:105
↓ 3 callersFunctionmake_K_cam_depth
(log_focals, pps, trans, quats, log_sizes, core_depth)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:269
↓ 3 callersFunctionmake_pts3d
(anchors, K, cam2w, depthmaps, base_focals=None, ret_depth=False)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:513
↓ 3 callersMethodmaybe_add
Add keyframes using fixed-interval or novelty-gated selection. `warmup_confidence` is the current segment's warmup-window mean post-softplus
benchmark/models/r3/R3/models/online/fallback.py:826
↓ 3 callersFunctionmerge_corres
(idx1, idx2, shape1=None, shape2=None, ret_xy=True, ret_index=False)
benchmark/models/mast3r_root/mast3r/fast_nn.py:87
↓ 3 callersFunctionmove_to_device
(data: torch.Tensor | dict | list, device: torch.device)
benchmark/models/vgg_ttt/vggttt/data/utils.py:13
↓ 3 callersFunctionnormalize_metric
(metric)
benchmark/models/depth_anything_3/model/reference_view_selector.py:79
↓ 3 callersFunctionnormalize_metric
(metric)
benchmark/models/r3/depth_anything_3/model/reference_view_selector.py:79
↓ 3 callersMethodon_fallback_complete
Called after fallback procedure finishes. Sets cooldown.
benchmark/models/r3/R3/models/online/fallback.py:788
↓ 3 callersFunctionparallel_execution
Executes a given function in parallel using threads or processes. When using threads, the parallelism is achieved during IO blocking.
benchmark/models/scal3r/utils/parallel_utils.py:7
↓ 3 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics. This function performs the inverse operation of extri_intri_to_pose_encoding,
benchmark/models/lingbot_map/utils/pose_enc.py:72
↓ 3 callersFunctionpose_encoding_to_extri_intri
Convert a pose encoding back to camera extrinsics and intrinsics.
benchmark/models/r3/depth_anything_3/model/utils/transform.py:41
↓ 3 callersMethodprepare_cameras
(self, views, nums)
benchmark/models/worldmirror_root/src/models/models/rasterization.py:478
↓ 3 callersMethodprepare_splats
Prepare Gaussian splats from model predictions and input data. Args: views: Dictionary containing view data (cam
benchmark/models/worldmirror_root/src/models/models/rasterization.py:406
↓ 3 callersFunctionquaternion_to_rotation_matrix
Convert a quaternion into a 3x3 rotation matrix. Args: - quat: 4 or Bx4 torch tensor (unit quaternions and notation is (x, y, z, w))
benchmark/models/mapanything/utils/geometry.py:601
↓ 3 callersFunctionreconstruct_camera_sequence_from_rel_pose
Reconstruct absolute camera sequence from relative predictions.
benchmark/models/r3/R3/utils/pose_utils.py:787
↓ 3 callersFunctionrecover_intrinsic_from_rays_d
( rays_d: torch.Tensor, ndc_coords: bool = False, force_center_principal_point: bool = False )
benchmark/models/pi3/utils/geometry.py:369
↓ 3 callersFunctionrefresh_pointclouds
()
benchmark/models/loger/utils/viser_utils.py:505
↓ 3 callersFunctionreg_dense_conf
extract confidence from prediction head output
benchmark/models/mast3r_root/dust3r/heads/postprocess.py:49
↓ 3 callersMethodreset
Clear all state.
benchmark/models/r3/R3/models/online/fallback.py:66
↓ 3 callersFunctionresidual_fn
Build flat residual vector for LM: translation, rotation, and prior terms.
benchmark/models/r3/R3/utils/pose_utils.py:570
↓ 3 callersFunctionrgb
(ftensor, true_shape=None)
benchmark/models/dust3r_root/dust3r/utils/image.py:45
↓ 3 callersFunctionrgb
(ftensor, true_shape=None)
benchmark/models/mast3r_root/dust3r/utils/image.py:45
↓ 3 callersFunctionrigid_points_registration
(pts1, pts2, conf)
benchmark/models/dust3r_root/dust3r/cloud_opt/init_im_poses.py:220
↓ 3 callersFunctionrigid_points_registration
(pts1, pts2, conf)
benchmark/models/mast3r_root/dust3r/cloud_opt/init_im_poses.py:220
↓ 3 callersFunctionsave_model
(epoch, fname, best_so_far)
benchmark/models/amb3r_root/amb3r/training.py:643
← previousnext →401–500 of 5,295, ranked by callers