c3dpo_nrsfm
c3dpo_nrsfm copied to clipboard
where is projection matrix
when set projection_type: perspective in exconfig.yaml and run demo.py but assert K is not None in def forward(self, kp_loc=None, kp_vis=None, class_mask=None, K=None, **kwargs):
This is because, for perspective projection, your dataloader has to return a projection matrix K
as well. Perspective projection requires the knowledge of focal length and principal point of the camera.