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

PoolingLayer without pad #232

Open
jakabemese opened this issue May 13, 2017 · 2 comments
Open

PoolingLayer without pad #232

jakabemese opened this issue May 13, 2017 · 2 comments

Comments

@jakabemese
Copy link

Hello! It could be make pooling without padding? So I would like in pool2: (45*45*32*100) -> (22*22*32*100)

out

@greenflash1357
Copy link
Contributor

Padding for PoolingLayer (like for ConvolutionLayer) is controlled by the pad parameter. See Documentation.

However, I think your padding is already set to (0,0).
It's the odd feature size and a stride of (2,2) that is producing these results.

@jakemese
Copy link

jakemese commented Jun 3, 2018

Thanks for the answer. I have already set stride, but it s not working.

pool2_layer = PoolingLayer(name="pool2", kernel=(2,2), stride=(2,2), bottoms=[:conv2], tops=[:pool2]) (Padding is by default (0,0))
Finally i changed the input size to 94*94, but I would like to use the original size.

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

3 participants