input size mismatch in maxpool

4 views (last 30 days)
new_user
new_user on 18 Dec 2021
Answered: Sahil Jain on 22 Dec 2021
The error is showing for maxpool input size from conv. layer. how to fix it

Answers (1)

Sahil Jain
Sahil Jain on 22 Dec 2021
Hi Arijit. The issue here is that you are trying to apply a 4x4 maxpool operation to a 1x1 feature map. I would suggest re-evaluating your network architecture and making sure the input size is defined correctly.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by