↓ 4 callersMethodupdate_mem mem_k: [B, size, C] mem_v: [B, size, C] feat_k: [B, 1, C] feat_v: [B, 1, C]
src/dust3r/model.py:204
↓ 3 callersMethod__init__(
self, net, has_conf=False, has_depth=False, has_rgb=False, has_pose_conf=False
)
src/dust3r/heads/linear_head.py:31
↓ 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
src/dust3r/utils/geometry.py:127
↓ 3 callersFunctionloss_of_one_batch(
batch,
model,
criterion,
accelerator: Accelerator,
symmetrize_batch=False,
use_amp=F
src/dust3r/inference.py:55
↓ 3 callersFunctionxy_gridOutput a (H,W,2) array of int32 with output[j,i,0] = i + origin[0] output[j,i,1] = j + origin[1]
src/dust3r/utils/geometry.py:15
↓ 2 callersMethod_set_pose(self, poses, idx, R, T=None, scale=None, force=False)
cloud_opt/base_opt.py:112
↓ 2 callersFunctioncolorize turn a grayscale image into a color image :param x: torch.Tensor, grayscale image, [H, W] or [B, H, W] :param mask: torch.Tensor or None,
eval/video_depth/utils.py:208
↓ 2 callersFunctioncolorize turn a grayscale image into a color image :param x: torch.Tensor, grayscale image, [H, W] or [B, H, W] :param mask: torch.Tensor or None,
eval/relpose/utils.py:283