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

Something wrong in the config of the last max pooling layer. #55

Open
MrDavidG opened this issue Aug 7, 2020 · 1 comment
Open

Something wrong in the config of the last max pooling layer. #55

MrDavidG opened this issue Aug 7, 2020 · 1 comment

Comments

@MrDavidG
Copy link

MrDavidG commented Aug 7, 2020

The setting of the last pooling layer is ('max_pool2d', [2, 1, 0]), which I think should be [2, 2, 0]. Maybe this is the reason of the poor performance?

@IandRover
Copy link

From the original work, it seems that the "same" padding is used instead of the "valid" padding. Therefore the padding in the config in miniimagenet_train.py should change from 0 to 1, i.e. '('conv2d', [32, 3, 3, 3, 1, 0])' to ('conv2d', [32, 3, 3, 3, 1, 1]),
After changing the padding in the config from 0 to 1, one can change the config of ('max_pool2d', [2, 1, 0]) to ('max_pool2d', [2, 2, 0]).

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

2 participants