-
Notifications
You must be signed in to change notification settings - Fork 104
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
Loss not reducing #20
Comments
I think that's a convergence issue of the direct regression model with the si-log loss. A better solution may use other losses like RMSE loss to warm up the model and then apply the silog, but I do not have enough time right now to conduct these modifications. For now, you can just re-run the training script, since this convergence issue randomly occurs. When you see the loss in your log is around 3.0 but does not continually drop, it means the model has collapsed. Just stop it and re-run the script. Once the loss drops, there will be no other problems in the training stage. |
Are you sure that is the issue? BTS also has direct regression model with the si-log loss, but the loss works for that. |
Yes, definitely. It is the issue of how to "directly" regress the predictions. Please refer to these codes. In BTS, they apply the sigmoid as (see config):
In contrast, we directly regress the predictions as
since the I conduct several experiments and find that there will be no convergence problem if we set |
Okay, thanks. I will close this now. |
Hi I am trying to train depth former but the loss is not reducing. PFA log file
swin_nyu.log
.
The text was updated successfully, but these errors were encountered: