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

Adjusting learning rate #64

Closed
Junonia opened this issue Jan 30, 2017 · 2 comments
Closed

Adjusting learning rate #64

Junonia opened this issue Jan 30, 2017 · 2 comments

Comments

@Junonia
Copy link
Contributor

Junonia commented Jan 30, 2017

I was not able to get the adjust learning rate working unless I change the code at line 266 in main.py from

for param_group in optimizer.state_dict()['param_groups']:

to

for param_group in optimizer.param_groups:

@apaszke
Copy link
Contributor

apaszke commented Jan 30, 2017

Ah, you're right! It got broken by a recent change! Thanks for the report! Please send a PR, if you have a moment. Otherwise I can do it later today.

@soumith
Copy link
Member

soumith commented Mar 1, 2017

this is fixed in master

@soumith soumith closed this as completed Mar 1, 2017
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

3 participants