facebookresearch/c3dpo_nrsfm

where is projection matrix

Opened this issue · 1 comments

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.