Skip to content
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

The dilation size of the first 3x3 convolution in DilatedResNetwork #139

Open
Beanocean opened this issue Mar 8, 2020 · 0 comments
Open

Comments

@Beanocean
Copy link

if m.stride == (2, 2):
m.stride = (1, 1)
if m.kernel_size == (3, 3):
m.dilation = (dilate // 2, dilate // 2)
m.padding = (dilate // 2, dilate // 2)

In the Dilated Resnet used for segmentation tasks, the m.dilation and m.padding of the first 3x3 convolution in layer3 and layer4 are set as half of the expected dilation ( dilation = dilation // 2).
But in the other implementations, the m.dilation and m.padding of the 3x3conv in corresponding position are set as m.dilation = dilation. Which one is as same as the original design in the Deeplab?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant