Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem loading the pre-trained model provided #22

Open
nishant34 opened this issue Mar 18, 2021 · 2 comments
Open

Problem loading the pre-trained model provided #22

nishant34 opened this issue Mar 18, 2021 · 2 comments

Comments

@nishant34
Copy link

nishant34 commented Mar 18, 2021

On running the gen_video.py file for the DTU dataset, the following error is there while loading the pre-trained model provided in the repository:
RuntimeError: Error(s) in loading state_dict for PixelNeRFNet:
Missing key(s) in state_dict: "poses", "image_shape", "focal", "c", "encoder.latent", "encoder.latent_scaling".

@nishant34 nishant34 changed the title Problem loading the saved model Problem loading the pre-trained model provided Mar 18, 2021
@sxyu
Copy link
Owner

sxyu commented Apr 4, 2021

That's strange, these keys should be marked non-persistent. Are you using PyTorch 1.6+?

@nishant34
Copy link
Author

nishant34 commented Apr 4, 2021 via email

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

No branches or pull requests

2 participants