You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following code, what is the shape of data["R"] and why [0] was chosen? In the Using Custom Datasets section of your readme, you mentioned "'R': (B, 3, 3 ) PyTorch3D rotation," so why choose [0]**
** 2. I don't really understand what sample batch cameras do, what does the code mean by setting render_batch_size=1 and query_idx? I'm not sure I understand. Don't you just need to input context_size, a reference pose and reference_image, and a target_pose to output a target_image?**
Right out of the dataloader, the shape of data['R'] is (1, B, 3, 3) since we load one scene per iteration.
Render batch size is the batch size for target_pose and target_image. The forward for relative_cam takes in all cameras and pose from dataloader, and based on batch_idx == query_idx, it picks of the target_image and target_pose. It also randomly selects the context_image and context_pose.
In the output of the last line in your code box can be interpreted as this:
**What a great job this is!
I have some problems, mainly inside EFT
target_cameras = PerspectiveCameras(R=data['R'][0],T=data['T'][0],focal_length=data['f'][0],principal_point=data['c'][0],image_size=data['image_size'][0]).cuda(gpu)
target_rgb = data['images'][0].cuda(gpu)
** 2. I don't really understand what sample batch cameras do, what does the code mean by setting render_batch_size=1 and query_idx? I'm not sure I understand. Don't you just need to input context_size, a reference pose and reference_image, and a target_pose to output a target_image?**
The text was updated successfully, but these errors were encountered: