-
Notifications
You must be signed in to change notification settings - Fork 4
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
why the train and val dice are Less than 0 #2
Comments
For the standard calculating way, Dice scores range in [0, 1]. And the weight for Dice loss in our code is also normalized. So a negative Dice is strictly avoided. Please check the Dice score for each class. Maybe a detailed check for the input/prediction/ground truth is a good way to solve your problem. |
Thank you for your prompt response. Can you share your training log to compare to see the training process correctly. Thank you! |
Here I give the training log information of the first 300 epochs. Hope that it can help! [21:54:39.443] epoch : 0, iteration : 8, train loss : 0.869225, train loss_ce: 0.834584, train loss_dice: 0.903867, train dice : 0.096133 |
This is the log file for the clean lung lobe dataset |
we only change the input but still CT and trained, the train and val dices are less than 0 in the training, what's wrong?
The text was updated successfully, but these errors were encountered: