-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 output is black. #506
Comments
Have you solved it? I'm having the exact same problem |
I'm having the exact same problem,too |
2 similar comments
I'm having the exact same problem,too |
I'm having the exact same problem,too |
Probably the reason is that torch.float16 is used in autocast() when using AMP. |
I trained the model on Carvana dataset. Below is the screen shot of training. There i you can clearly see that validation Dice score is constant for 5 epochs and loss is "nan". I used one checkpoint.pth for predication and i got black output. could you please help me to resolved this issue.
The text was updated successfully, but these errors were encountered: