↓ 13 callersFunctionread_next_bytesRead and unpack the next bytes from a binary file. :param fid: :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, 30, etc.
track4world/nets/external/depth_anything_3/utils/read_write_model.py:72
↓ 12 callersFunction_make_fusion_block(
features: int,
size: Tuple[int, int] = None,
has_residual: bool = True,
groups: int = 1,
track4world/nets/external/depth_anything_3/model/dpt.py:342
↓ 9 callersFunctionas_homogeneous Accept (..., 3,4) or (..., 4,4) extrinsics, return (...,4,4) homogeneous matrix. Supports torch.Tensor or np.ndarray.
track4world/nets/external/depth_anything_3/utils/geometry.py:23
↓ 5 callersMethodencode(
self,
imgs,
with_prior=True,
depths=None,
rays=None,
intri
track4world/nets/external/pi3x/models/pi3x.py:307
↓ 5 callersFunctionget_gpu_memory_infoReturn a snapshot of current GPU memory usage or None if CUDA not available. Keys in returned dict: total_gb, allocated_gb, reserved_gb, free_gb,
track4world/nets/external/depth_anything_3/utils/memory.py:16
↓ 4 callersFunctionfind_homography_least_squares_weighted_torch src_pts: (N,2) source points (torch.Tensor, float32/float64) dst_pts: (N,2) target points (torch.Tensor, float32/float64) confident_weigh
track4world/nets/external/depth_anything_3/utils/ray_utils.py:112
↓ 4 callersMethodpairwise_concat Converts a time-series feature [B, T, C, H, W] to [B*(T-1), 2, C, H, W] by stacking adjacent frames (t, t+1).
track4world/nets/model.py:1261
↓ 4 callersFunctionrecover_global_focal_shift Estimate global focal (scalar) and shift (3D) per batch from video point maps. Args: points_all: Tensor (B, S, H, W, 3), point maps
track4world/utils/geometry_torch.py:338