Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sam_3d_body/sam_3d_body_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def process_one_image(
# - either provided externally or generated via default FOV estimator
if cam_int is not None:
print("Using provided camera intrinsics...")
cam_int = torch.from_numpy(cam_int).unsqueeze(0)
cam_int = cam_int.to(batch["img"])
batch["cam_int"] = cam_int.clone()
elif self.fov_estimator is not None:
Expand Down