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

Predicted normals are all NaN #7

Open
eric11220 opened this issue Jul 20, 2024 · 1 comment
Open

Predicted normals are all NaN #7

eric11220 opened this issue Jul 20, 2024 · 1 comment

Comments

@eric11220
Copy link

As mentioned in #5,
The output of "layer_4" is NaN for Line 71 in modules/geo_predictors/omnidata/modules/midas/dpt_depth.py
layer_1, layer_2, layer_3, layer_4 = forward_vit(self.pretrained, x)

The pre-trained checkpoint seems to load successfully for the normal prediction model.
How to fix the issue? thanks!

@gard-n
Copy link

gard-n commented Jul 23, 2024

I describe a workaround here. It would be great if there was a solution where you didn't have to manipulate the backbone.

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