-
Notifications
You must be signed in to change notification settings - Fork 219
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
optimizer got an empty parameter list #23
Comments
Can you provide a code snippet for the definition of
|
|
It seems there is no issues with your code, but can try removing list from the below part |
I have removed list, but it also has the error above. |
I find where is wrong, edit |
when i put centerloss's parameters into optimizer, raise valueError("optimizer got an empty parameter list")
optimizer_centloss = torch.optim.SGD(criterion_cent.parameters(), lr=args.lr_cent)
The text was updated successfully, but these errors were encountered: