-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
train_loss and val_loss nan #2629
Comments
Hi @lsw2022 , |
In my case, this issue stems from mixed precision training. verify dataset integrity gave no errors. you can try --fp32 flag to disable mixed precision, however this will increase GPU memory usage so you might need to adjust your batch size accordingly. |
Hi !! |
No, use it with the training command. Your preprocessed data is fine. |
Thank you so much. I am gonna try this right away. |
nnUNetv2_train 100 3d_fullres 0 -tr nnUNetTrainer_250epochs --fp32 |
Hi, thank you for this wonderful model.
I'd like to ask about the training issue I encountered. So, I just finished my training on nnunetv2 .However, when I checked the training progress, I saw several nan in my training.Can you tell me what caused the problem?I look forward to a reply, thanks!
The text was updated successfully, but these errors were encountered: