-
Notifications
You must be signed in to change notification settings - Fork 9.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 res2net+dcn test bug #3714
fix res2net+dcn test bug #3714
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3714 +/- ##
==========================================
+ Coverage 60.83% 61.10% +0.27%
==========================================
Files 216 216
Lines 15316 15340 +24
Branches 2607 2620 +13
==========================================
+ Hits 9317 9374 +57
+ Misses 5535 5497 -38
- Partials 464 469 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
the format problem is so difficult!!!!!!!!!! |
if self.dcn is not None: | ||
for m in self.modules(): | ||
if isinstance(m, Bottle2neck): | ||
for n in m.convs: |
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.
We may add comments here.
Like dcn in Res2Net bottleneck is in ModuleList
.
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.
We may add comments here.
Likedcn in Res2Net bottleneck is in ModuleList
.
ok, i will add comments
Hi @yuzhj |
I rewrite init_weights in the res2net.py to fix the test bug(AttributeError: 'Bottle2neck' object has no attribute 'conv2')