Skip to content
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

MRAN-Running error -AttributeError: 'SGD' object has no attribute 'param_group' #26

Closed
zhen1202 opened this issue Dec 15, 2021 · 2 comments

Comments

@zhen1202
Copy link

Traceback (most recent call last):
File "MRAN.py", line 131, in
optimizer.param_group[0]['lr'] = args.lr[0] / math.pow((1 + 10 * (epoch - 1) / args.epochs), 0.75)
AttributeError: 'SGD' object has no attribute 'param_group'

@easezyc
Copy link
Owner

easezyc commented Dec 16, 2021

I have corrected the codes, and there is no error now.

@zhen1202
Copy link
Author

Thank you

@easezyc easezyc closed this as completed Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants