-
Notifications
You must be signed in to change notification settings - Fork 13
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
the value of loss is NaN #31
Comments
To our experience, this is due to align losses, which are sometimes unstable and needs complex tuning. One of the alleviating methods used is to add a value clip function as in the latest commit. There are also some helpful tuning techniques, including progressively loss tuning. We will release them along with the revised and cleaned data generation scripts. By the way, we switch from KL divergence to MSE loss in our on-working journal version, and re-design the align losses and finally address the loss issue. |
Will you correct the code? How long does it take to correct your code? I'm sorry, I'm in a hurry. |
how switch switch from KL divergence to MSE loss? |
To address the loss issue, some training techniques might be helpful:
|
Thanks for your reply |
Hello |
@mahsa1363 how did you fix this problem? |
@monacv I could not solve his problem. Not answering themselves. All I did was make the part that made loss NaN that I deleted. |
At the time of training, in the step "python tools/Train_HICO_DET_DJR.py --model --num_iteration 400000 "o, the value of loss in all of the images in NaN. why????
The text was updated successfully, but these errors were encountered: