Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

where is projection matrix #16

Open
azuryl opened this issue Nov 24, 2020 · 1 comment
Open

where is projection matrix #16

azuryl opened this issue Nov 24, 2020 · 1 comment

Comments

@azuryl
Copy link

azuryl commented Nov 24, 2020

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):

@davnov134
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants