c3dpo_nrsfm icon indicating copy to clipboard operation
c3dpo_nrsfm copied to clipboard

where is projection matrix

Open azuryl opened this issue 4 years ago • 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):

azuryl avatar Nov 24 '20 01:11 azuryl

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.

davnov134 avatar Jan 10 '21 11:01 davnov134