-
Notifications
You must be signed in to change notification settings - Fork 65
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
pem loss nan? #23
Comments
There is a statistical ratio in the loss function. It may happen that the number of iou> 0.7 or iou> 0.9 is 0 for small batch sizes, such as 1, which leads to nan. Is this correct? |
I have also met this problem and have to replace the loss by Focal Loss, I am still on the experiment to make sure it works |
Have you tried changing the two classifications to multiple classifications for detection tasks instead of proposal tasks? @vhvkhoa |
Yes, you are right. |
I have met this problem when batchsize was set to 16, anyone of you have some ideas to deal with it? |
I have met this problem when batchsize was set to 4, anyone of you have some ideas to deal with it? |
@lyx190 @longchao1 |
Thanks a lot |
thks for your work. but I found that sometimes the batchsize is 1, pem = loss occurs. why?
The text was updated successfully, but these errors were encountered: