-
Notifications
You must be signed in to change notification settings - Fork 32
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
nan value #6
Comments
Are you training with your own dataset? |
We are training with VGGFace2 dataset. |
I experienced this issue. It seems related to this other issue. My fix is to change the optimizer from
to
|
I found another issue that raises the nan value. The scale variable s should be updated during training only,i.e., using the training split.
to
self.training is already defined inside AdaCos because it is nn.Module. So there is no need to define this variable. |
While trying to replicate adacos we find the B_avg tending to inf. can u help me with this.
m=0.5
B_avg value before inf = 8.3499e+35
Thanks
The text was updated successfully, but these errors were encountered: