-
Notifications
You must be signed in to change notification settings - Fork 7.2k
ResNet BasicBlock dilation #2115
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2115 +/- ##
======================================
Coverage 0.48% 0.48%
======================================
Files 92 92
Lines 7409 7407 -2
Branches 1128 1127 -1
======================================
Hits 36 36
+ Misses 7360 7358 -2
Partials 13 13
Continue to review full report at Codecov.
|
@christian-rauch With this change, could resnet34 work as deeplabv3 backbone? Will the pretrained weights work? |
This doesn't change the default settings (dilation=1) and dilation>1 would throw. I think you should be able to load and use pretrained weights, but I haven't verified that. |
Hope to see your pull completed! @fmassa |
I noticed that setting |
Is this the fcn_resnet50?? |
Hi, Thanks for the PR! There are a few subtleties with Let me know if you would have bandwidth to work on this until completion (might require some thought, I'm not sure it will be easy to do in a clean way), and I can give you some pointers. |
No, the |
Do you think that this change will allow to use as deeplabv3 backbone? |
@WaterKnight1998 if a variant of this PR gets merged, it would allow to use ResNet34 as a backbone for DeepLabV3, although we don't provide pre-trained weights for this configuration. |
@WaterKnight1998 FYI, I have a ResNet which has evolved from the one here that does support dilation in the BasicBlock... as you can see, it requires a bit more effort as @fmassa mentioned. I also got dilation working in the avgpool downsample variants ('D') which was a bit of fun :) |
enables dilation for ResNet