Functionget_3d_rotary_pos_embed_allegro(
embed_dim,
crops_coords,
grid_size,
temporal_size,
interpolation_scale: Tuple[float, flo
architecture/embeddings.py:965
Functionget_topo_mask coords_xyz_append: [B, T, N, 3] 3d coordinates coords_2d_lift: [B*T, N] depth map replace_ratio: float, the ratio of the depth change to
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/utils.py:970
Functionharmonic_mean(x: torch.Tensor, w: torch.Tensor = None, dim: Union[int, torch.Size] = None, keepdim: bool = False, eps: floa
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_torch.py:24
Functionharmonic_mean_numpy(x: np.ndarray, w: np.ndarray = None, axis: Union[int, Tuple[int,...]] = None, keepdims: bool = False, eps: fl
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_numpy.py:22
Functionmeshgrid2d(B, Y, X, stack=False, norm=False, device="cuda")
preprocess/SpaTrackV2_code/utils/model_utils.py:137
Functionpix2cam Args: coords: [B, T, N, 3] intr: [B, T, 3, 3]
preprocess/SpaTrackV2_code/models/tracker3D/delta_utils/blocks.py:651
Functionrecover_focal_shift_numpy(points: np.ndarray, mask: np.ndarray = None, focal: float = None, downsample_size: Tuple[int, int] = (64, 64)
preprocess/SpaTrackV2_code/models/tracker3D/spatrack_modules/geometry_numpy.py:115