-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix some options of MNIST example not working #3500
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for one comment.
@@ -51,6 +51,10 @@ def main(): | |||
optimizer = chainer.optimizers.Adam() | |||
optimizer.setup(model) | |||
|
|||
if args.resume: | |||
# Resume from a snapshot | |||
serializers.load_npz(args.resume, model) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should optimizer
be loaded as well?
@kmaehashi thanks for this fix. I assume that |
Ping @kmaehashi |
2cb239e
to
c208890
Compare
Sorry for the late response and thanks for the comment. I fixed as suggested. |
jenkins, test this please. |
LGTM, @beam2d could you approve? |
jenkins, test this please. |
LGTM! |
@kmaehashi I think this fix should be backported. What do you think? |
@hvy I agree to backport it. |
Fix some options of MNIST example not working
@kmaehashi Thanks for the label, I created a backport. |
No description provided.