Overwriting FrozenBN eps=0.0 if pretrained=True for detection models.#2940
Merged
fmassa merged 2 commits intopytorch:masterfrom Nov 3, 2020
Merged
Overwriting FrozenBN eps=0.0 if pretrained=True for detection models.#2940fmassa merged 2 commits intopytorch:masterfrom
fmassa merged 2 commits intopytorch:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2940 +/- ##
==========================================
+ Coverage 73.41% 73.43% +0.02%
==========================================
Files 99 99
Lines 8801 8813 +12
Branches 1389 1391 +2
==========================================
+ Hits 6461 6472 +11
- Misses 1915 1916 +1
Partials 425 425
Continue to review full report at Codecov.
|
fmassa
approved these changes
Nov 3, 2020
Member
fmassa
left a comment
There was a problem hiding this comment.
Thanks a lot for fixing the BC Vasilis!
I only have a couple of minor comments which are non-blocking but would be good to have (at least the comment). Let me know what you think
datumbox
added a commit
to datumbox/vision
that referenced
this pull request
Nov 5, 2020
…pytorch#2940) * Overwriting FrozenBN eps=0.0 if pretrained=True for detection models. * Moving the method to detection utils and adding comments.
bryant1410
pushed a commit
to bryant1410/vision-1
that referenced
this pull request
Nov 22, 2020
…pytorch#2940) * Overwriting FrozenBN eps=0.0 if pretrained=True for detection models. * Moving the method to detection utils and adding comments.
vfdev-5
pushed a commit
to Quansight/vision
that referenced
this pull request
Dec 4, 2020
…pytorch#2940) * Overwriting FrozenBN eps=0.0 if pretrained=True for detection models. * Moving the method to detection utils and adding comments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Potential fix for BC of #2933
By overwriting the
FrozenBN.epsvalue to 0.0 whenpretrained=True, we get the same accuracy stats as before.Click here for the accuracy stats of fasterrcnn_resnet50_fpn
Click here for the accuracy stats of retinanet_resnet50_fpn
Click here for the accuracy stats of maskrcnn_resnet50_fpn
Click here for the accuracy stats of keypointrcnn_resnet50_fpn