xwjabc / hed

A PyTorch reimplementation of Holistically-Nested Edge Detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to understand `padding=35` for the first conv layer?

yang-jin-hai opened this issue · comments

I also find this config in the original repo. I think it may be used to increase side outputs resolution, but why it's 35?

I figure it out ^_^

Hi, @WannaSeaU I have the same query. What is the reason behind padding=35 for the first conv layer?

meteorshowers also used padding = 21 for the first conv layer. Why is that? Shouldn't padding be equal to 1 for all the layers?

Also a query for @xwjabc