↓ 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.
utils/read_write_model.py:78
↓ 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.
dataset_loaders/colmap_loader.py:75
↓ 11 callersMethodadd_camera(self, pose_c2w, focal=None, color=(0, 0, 0), image=None, imsize=None, cam_size=0.03)
dust3r/dust3r/viz.py:190
↓ 8 callersFunctionxy_grid Output a (H,W,2) array of int32 with output[j,i,0] = i + origin[0] output[j,i,1] = j + origin[1]
dust3r/dust3r/utils/geometry.py:15
↓ 6 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, bias=True, drop=0.)
dust3r/croco/models/blocks.py:60
↓ 5 callersMethod_set_pose(self, poses, idx, R, T=None, scale=None, force=False)
dust3r/dust3r/cloud_opt/base_opt.py:157
↓ 5 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
dust3r/dust3r/utils/geometry.py:114
↓ 5 callersFunctionloss_of_one_batch(batch, model, criterion, device, symmetrize_batch=False, use_amp=False, ret=None)
dust3r/dust3r/inference.py:32