-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
**What a great job this is!
I have some problems, mainly inside EFT
- 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]**
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?**
rand_batch = torch.randperm(len(target_cameras))
batch_idx = rand_batch[:render_batch_size],
batch_cameras, batch_rgb, batch_mask, input_cameras, input_rgb, input_masks, context_idx = relative_cam(target_cameras, target_rgb, context_size=context_size, query_idx=batch_idx, return_context=True)Metadata
Metadata
Assignees
Labels
No labels