-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Enable resetting of batchnorm running moments and cumulative average #6445
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
Conversation
torch/nn/modules/batchnorm.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
cc @soumith |
|
@onnxbot test this please |
ezyang
left a comment
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.
Blocking merge of this until BC-breakage is resolved
|
fyi, I'm working on load_state_dict to solve the issue. |
|
Thanks so much -- would be great to have it in time for the next release :) |
|
@pytorchbot retest this please |
1 similar comment
|
@pytorchbot retest this please |
|
Can someone help me out with this onnx check? |
|
@ssnl please have a look |
|
(closed by mistake) |
ssnl
left a comment
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.
I'm not sure if the new buffer should be in onnx export or not. If it should be, then updating the onnx expected output would be an easy fix.
torch/nn/modules/batchnorm.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/nn/modules/batchnorm.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/nn/modules/batchnorm.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
|
The TestCaffe2Backend.test_resnet fail is at least easy to try locally. Could you see if it works? |
|
comments addressed. I'm not sure what the TestCaffe2Backend test is, as grepping for that string returns nothing. |
|
@onnxbot retest this please |
…") moving average
|
@pytorchbot test this please |
|
@ezyang merge this one with onnxbot/onnx-fb-universe#1792 together |
|
Woohoo! Thanks to all! |
…") moving average (pytorch#6445)
…") moving average (pytorch#6445)
Duplicate of #5766