MCPcopy Create free account

hub / github.com/TencentARC/Track4World / functions

Functions1,309 in github.com/TencentARC/Track4World

↓ 3 callersFunction_url_join
(*parts: str)
track4world/nets/external/depth_anything_3/services/gallery.py:631
↓ 3 callersFunctionapply_vis_mode
(mode: str, timestep: int)
visualization/vis_3d_efep.py:404
↓ 3 callersFunctionclosed_form_inverse_se3
Compute the inverse of each 4x4 (or 3x4) SE3 matrix in a batch. Uses closed-form solution instead of torch.inverse() for numerical stability
track4world/nets/external/depth_anything_3/bench/utils.py:485
↓ 3 callersFunctioncompute_sky_mask
Compute non-sky mask from sky prediction. Args: sky_prediction: Sky prediction tensor threshold: Threshold for sky classific
track4world/nets/external/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:
track4world/nets/external/depth_anything_3/utils/model_loading.py:25
↓ 3 callersFunctionevaluate_3d_reconstruction
Evaluate 3D reconstruction quality using standard metrics. This function computes: - Accuracy: Mean distance from predicted points to GT
track4world/nets/external/depth_anything_3/bench/utils.py:91
↓ 3 callersMethodforward
(self, x: Tensor, attn_bias=None)
track4world/nets/external/pi3x/models/layers/attention.py:56
↓ 3 callersFunctiongenerate_coordinate_frame
Generate a coordinate frame given perpendicular, unit-length Y and Z vectors.
track4world/nets/external/depth_anything_3/utils/camera_trj_helpers.py:205
↓ 3 callersFunctionget_cluster_type
(cluster_type: Optional[ClusterType] = None)
track4world/nets/dinov2/utils/cluster.py:31
↓ 3 callersFunctionget_cluster_type
(cluster_type: Optional[ClusterType] = None)
track4world/nets/external/pi3x/models/dinov2/utils/cluster.py:31
↓ 3 callersMethodget_fmaps
Extract feature maps for all frames. Processes frames in chunks to manage memory usage.
track4world/nets/model.py:1946
↓ 3 callersFunctionget_scene_info
Get information about scenes in the examples directory. Args: examples_dir: Path to examples directory Returns: List of
track4world/nets/external/depth_anything_3/app/modules/utils.py:141
↓ 3 callersFunctionnormalize_metric
(metric)
track4world/nets/external/depth_anything_3/model/reference_view_selector.py:79
↓ 3 callersFunctionread_images_or_video
Reads frames from a directory of images or a video file. Args: input_path: Path to image directory or video file. resize_to:
evaluation/point_cloud/utils.py:51
↓ 3 callersFunctionread_model
(path, ext="")
track4world/nets/external/depth_anything_3/utils/read_write_model.py:474
↓ 3 callersFunctionsolve_optimal_focal_shift
Solve jointly for optimal focal length and global depth shift. Solve min ||focal * (xy / (z + shift)) - uv||^2 using Levenberg-Marquardt.
track4world/utils/geometry_numpy.py:235
↓ 3 callersFunctionsolve_optimal_shift
Solve for optimal depth shift given a fixed focal length. Solve min ||focal * (xy / (z + shift)) - uv||^2 Args: uv: pixel coord
track4world/utils/geometry_numpy.py:276
↓ 3 callersFunctionsplit_batch_fwd
Splits a batch-processing function into smaller chunks to prevent OOM (Out of Memory).
track4world/utils/alignment.py:42
↓ 3 callersMethodsumm_gif
Writes a video/gif to TensorBoard.
track4world/utils/improc.py:382
↓ 3 callersMethodsumm_rgb
Summarizes a single image.
track4world/utils/improc.py:437
↓ 3 callersMethodupdate_measure_view
Update measure view for a specific view index. Args: processed_data: Processed data dictionary view_index: I
track4world/nets/external/depth_anything_3/app/modules/visualization.py:135
↓ 3 callersFunctionweighted_mean
Compute weighted mean of a tensor.
track4world/utils/geometry_torch.py:19
↓ 2 callersFunctionMLPMixerBlock
Single block of MLP-Mixer.
track4world/nets/blocks.py:1038
↓ 2 callersFunctionMMFeedForward
(dim, expansion_factor=4, dropout=0., dense=nn.Linear)
track4world/nets/blocks.py:1029
↓ 2 callersFunctionRef2Mem
(xyz, Z, Y, X)
track4world/utils/py.py:242
↓ 2 callersMethod__init__
( self, num_features: int, dim_in: int, dim_out: List[int], dim_proj:
track4world/nets/model.py:207
↓ 2 callersMethod__init__
(self, patch_size, dec_embed_dim, output_dim=3,)
track4world/nets/external/pi3x/models/layers/transformer_head.py:64
↓ 2 callersMethod__init__
( self, dim: int, num_heads: int = 8, qkv_bias: bool = False, proj_bia
track4world/nets/external/pi3x/models/layers/attention.py:37
↓ 2 callersMethod__init__
( self, dim_in: int, *, patch_size: int = 14, output_dim: int = 1,
track4world/nets/external/depth_anything_3/model/dpt.py:42
↓ 2 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
track4world/nets/external/depth_anything_3/model/utils/attention.py:86
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
track4world/nets/layers/rope.py:153
↓ 2 callersMethod_apply_1d_rope
Applies 1D rotary position embeddings along one dimension. Args: tokens: Input token features. positions: Position in
track4world/nets/external/depth_anything_3/model/dinov2/layers/rope.py:134
↓ 2 callersFunction_apply_sim3_to_poses
(poses, r, t, s)
track4world/nets/external/depth_anything_3/utils/pose_align.py:92
↓ 2 callersFunction_cleanup_old_tasks
Clean up old completed/failed tasks to prevent memory buildup.
track4world/nets/external/depth_anything_3/services/backend.py:392
↓ 2 callersFunction_compute_offset
(base: int, overlay: int, align: Alignment)
track4world/nets/external/depth_anything_3/utils/layout_helpers.py:77
↓ 2 callersFunction_convert
Helper to convert tensor types.
track4world/utils/improc.py:21
↓ 2 callersFunction_depths_to_world_points_with_colors
For each frame, transform (u,v,1) through K^{-1} to get rays, multiply by depth to camera frame, then use (w2c)^{-1} to transform to world fr
track4world/nets/external/depth_anything_3/utils/export/glb.py:205
↓ 2 callersMethod_dump_json
Write JSON with UTF-8 and pretty indentation.
track4world/nets/external/depth_anything_3/bench/evaluator.py:504
↓ 2 callersMethod_eval_reconstruction
Compute reconstruction metrics for each dataset and scene. Args: mode: "recon_unposed" or "recon_posed"
track4world/nets/external/depth_anything_3/bench/evaluator.py:306
↓ 2 callersMethod_forward_impl
( self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: in
track4world/nets/external/depth_anything_3/model/dpt.py:207
↓ 2 callersMethod_forward_impl
( self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: in
track4world/nets/external/depth_anything_3/model/dualdpt.py:208
↓ 2 callersMethod_fuse
4-layer top-down fusion, returns finest scale features (after fusion, before neck1).
track4world/nets/external/depth_anything_3/model/dpt.py:268
↓ 2 callersFunction_get_cross_dim
(main_axis: Axis)
track4world/nets/external/depth_anything_3/utils/layout_helpers.py:70
↓ 2 callersFunction_get_main_dim
(main_axis: Axis)
track4world/nets/external/depth_anything_3/utils/layout_helpers.py:63
↓ 2 callersFunction_invert_K
Invert 3x3 intrinsics matrices. Assumes no skew.
track4world/nets/external/pi3x/models/layers/prope.py:449
↓ 2 callersFunction_is_plain_name
Check if name is safe for use in paths.
track4world/nets/external/depth_anything_3/services/backend.py:485
↓ 2 callersMethod_knn_dist_gpu
GPU-accelerated nearest neighbor distance computation. Args: query: Query points [N, 3] target: Target point
track4world/nets/external/depth_anything_3/bench/datasets/dtu.py:479
↓ 2 callersMethod_load_gt_mask
Load GT depth and create valid mask. For ScanNet++, GT depth is stored as 16-bit PNG in millimeters. Returns: B
track4world/nets/external/depth_anything_3/bench/datasets/scannetpp.py:551
↓ 2 callersMethod_load_gt_mask
Load GT depth and create valid mask. For 7Scenes, GT depth is stored as 16-bit PNG in millimeters. Value 65535 indicates inv
track4world/nets/external/depth_anything_3/bench/datasets/sevenscenes.py:396
↓ 2 callersMethod_load_gt_mask
Load GT depth and aliasing mask to create valid mask. For HiRoom: - GT depth is stored as 16-bit PNG, scaled to 100m range
track4world/nets/external/depth_anything_3/bench/datasets/hiroom.py:396
↓ 2 callersMethod_load_gt_mask
Load GT mask for masking invalid regions. GT mask marks occluded or invalid regions that should be excluded from depth fusio
track4world/nets/external/depth_anything_3/bench/datasets/eth3d.py:506
↓ 2 callersFunction_make_dinov2_model_name
(arch_name: str, patch_size: int, num_register_tokens: int = 0)
track4world/nets/dinov2/hub/utils.py:17
↓ 2 callersFunction_make_dinov2_model_name
(arch_name: str, patch_size: int, num_register_tokens: int = 0)
track4world/nets/external/pi3x/models/dinov2/hub/utils.py:17
↓ 2 callersFunction_make_scratch
( in_shape: List[int], out_shape: int, groups: int = 1, expand: bool = False )
track4world/nets/external/depth_anything_3/model/dpt.py:362
↓ 2 callersMethod_mask_invalid_depth
Mask invalid depth values by setting them to 0.
track4world/nets/external/depth_anything_3/bench/datasets/scannetpp.py:576
↓ 2 callersMethod_mask_invalid_depth
Mask invalid depth values by setting them to 0. Args: depth: Depth map to mask gt_zero_mask: Optional GT mas
track4world/nets/external/depth_anything_3/bench/datasets/sevenscenes.py:422
↓ 2 callersMethod_mask_invalid_depth
Mask invalid depth values by setting them to 0.
track4world/nets/external/depth_anything_3/bench/datasets/hiroom.py:425
↓ 2 callersMethod_mask_invalid_depth
Mask invalid depth values by setting them to 0. Logic: 1. Apply GT mask (if provided) - marks occluded/invalid regions
track4world/nets/external/depth_anything_3/bench/datasets/eth3d.py:563
↓ 2 callersMethod_mean_of_dicts
Compute elementwise mean across a list of homogeneous metric dicts.
track4world/nets/external/depth_anything_3/bench/evaluator.py:495
↓ 2 callersMethod_normalize_extrinsics
Normalize extrinsics
track4world/nets/external/depth_anything_3/api.py:406
↓ 2 callersMethod_print_footer
Print report footer.
track4world/nets/external/depth_anything_3/bench/print_metrics.py:247
↓ 2 callersMethod_print_header
Print report header.
track4world/nets/external/depth_anything_3/bench/print_metrics.py:239
↓ 2 callersFunction_process_kubric_blink_batch
Processor for Kubric and BlinkVision dataset structures.
evaluation/flow/eval.py:528
↓ 2 callersFunction_rand_rot
()
track4world/nets/external/depth_anything_3/utils/pose_align.py:282
↓ 2 callersMethod_read_ply
Read point cloud from PLY file.
track4world/nets/external/depth_anything_3/bench/datasets/dtu.py:543
↓ 2 callersMethod_resize_ixt
( self, intrinsic: np.ndarray | None, orig_w: int, orig_h: int, w: int
track4world/nets/external/depth_anything_3/utils/io/input_processor.py:262
↓ 2 callersMethod_run_model_forward
Run model forward pass.
track4world/nets/external/depth_anything_3/api.py:446
↓ 2 callersFunction_sanitize_color
(color: Color)
track4world/nets/external/depth_anything_3/utils/layout_helpers.py:41
↓ 2 callersMethod_save_gt_meta
Save GT extrinsics/intrinsics/image_files for evaluation. This is needed when frames are sampled, so eval_pose and fuse3d can use
track4world/nets/external/depth_anything_3/bench/evaluator.py:369
↓ 2 callersFunction_save_image_impl
Common implementation for saving images synchronously or asynchronously
track4world/nets/external/depth_anything_3/utils/parallel_utils.py:47
↓ 2 callersFunction_smooth_trj_fn_batch
(raw_c2ws, k_size=50)
track4world/nets/external/depth_anything_3/model/utils/gs_renderer.py:193
↓ 2 callersFunction_to44
(ext)
track4world/nets/external/depth_anything_3/utils/pose_align.py:68
↓ 2 callersMethod_to_float_dict
Convert numpy scalars to plain Python floats for JSON safety.
track4world/nets/external/depth_anything_3/bench/evaluator.py:490
↓ 2 callersFunctionalign_to_first_camera
Align all camera poses to the first camera's coordinate frame. Args: camera_poses: Camera poses as SE3 transformations [N, 4, 4]
track4world/nets/external/depth_anything_3/bench/utils.py:333
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
track4world/nets/external/pi3x/models/layers/pos_embed.py:136
↓ 2 callersFunctionassert_same_shape
Asserts that two tensors have the same shape. Useful for debugging element-wise operations.
track4world/utils/basic.py:63
↓ 2 callersFunctionbilinear_sampler
Wrapper around grid_sample with coordinate normalization. Args: input: Input feature map (N, C, H, W) or (N, C, D, H, W).
track4world/nets/blocks.py:70
↓ 2 callersMethodcache_examples
Pre-cache all example scenes at startup. Args: show_cam: Whether to show camera in visualization filter_blac
track4world/nets/external/depth_anything_3/app/gradio_app.py:64
↓ 2 callersFunctioncam_points_to_world
(points_cam, c2w)
visualization/vis_3d_efep_world.py:160
↓ 2 callersFunctioncat
Arrange images in a line. The interface resembles a CSS div with flexbox.
track4world/nets/external/depth_anything_3/utils/layout_helpers.py:120
↓ 2 callersFunctioncheck_memory_availability
Return whether at least ``required_gb`` seems available on the current GPU. The returned tuple is (is_available, message) with a human-friendly m
track4world/nets/external/depth_anything_3/utils/memory.py:78
↓ 2 callersFunctioncolorize_value
Apply color to a metric value based on whether it's best/worst. Args: value: String representation of the value is_best: Whe
track4world/nets/external/depth_anything_3/bench/print_metrics.py:61
↓ 2 callersFunctioncompute_pose
Compute pose estimation metrics between predicted and ground truth trajectories. Args: pred_se3: Predicted SE(3) transformations [N,
track4world/nets/external/depth_anything_3/bench/utils.py:307
↓ 2 callersFunctionconstruct_list_of_attributes
(num_rest: int)
track4world/nets/external/depth_anything_3/utils/gsply_helpers.py:25
↓ 2 callersFunctionconv133_encoder
Lightweight 3-layer CNN encoder (1x1 -> 3x3 -> 3x3), used to compress correlation features.
track4world/nets/blocks.py:1106
↓ 2 callersFunctionconvert_metric_state_dict
Convert metric model state dict to match current model architecture. Args: state_dict: Original metric state dictionary Returns
track4world/nets/external/depth_anything_3/utils/model_loading.py:75
↓ 2 callersFunctioncreate_uv_grid
Create a normalized UV grid of shape (width, height, 2). The grid spans horizontally and vertically according to an aspect ratio, ensuri
track4world/nets/external/depth_anything_3/model/utils/head_utils.py:152
↓ 2 callersFunctiondefault
Returns val if it exists, otherwise returns default d.
track4world/nets/blocks.py:31
↓ 2 callersFunctiondetect_model_format
(path, ext)
track4world/nets/external/depth_anything_3/utils/read_write_model.py:462
↓ 2 callersFunctiondinov2_vitl14_reg
DINOv2 ViT-L/14 model with registers (optionally) pretrained on the LVD-142M dataset.
track4world/nets/external/pi3x/models/dinov2/hub/backbones.py:128
↓ 2 callersFunctiondo_take
(x)
evaluation/track/tapvid3d_metrics.py:208
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
Applies stochastic depth by computing residuals only on a subset of batch samples and scaling them accordingly. This reduces computation
track4world/nets/layers/block.py:132
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
track4world/nets/dinov2/layers/block.py:116
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, )
track4world/nets/external/pi3x/models/dinov2/layers/block.py:116
↓ 2 callersFunctiondrop_add_residual_stochastic_depth
( x: Tensor, residual_func: Callable[[Tensor], Tensor], sample_drop_ratio: float = 0.0, pos: O
track4world/nets/external/depth_anything_3/model/dinov2/layers/block.py:106
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
track4world/nets/dinov2/layers/block.py:187
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
track4world/nets/external/pi3x/models/layers/block.py:185
↓ 2 callersFunctiondrop_add_residual_stochastic_depth_list
( x_list: List[Tensor], residual_func: Callable[[Tensor, Any], Tensor], sample_drop_ratio: float =
track4world/nets/external/pi3x/models/dinov2/layers/block.py:187
↓ 2 callersFunctionestimate_sim3
Estimate a global Sim(3) transformation that aligns A to B in a least-squares sense. That is, find s, R, t such that: B ~ s * R * A +
evaluation/track/track_eval_utill.py:25
↓ 2 callersMethodeval3d
Evaluate 3D reconstruction quality against ground truth. Args: scene: Scene identifier fuse_path: Path to fu
track4world/nets/external/depth_anything_3/bench/dataset.py:111
← previousnext →101–200 of 1,309, ranked by callers