pytorch / vision

Datasets, Transforms and Models specific to Computer Vision
https://pytorch.org/vision
BSD 3-Clause "New" or "Revised" License
16.23k stars 6.95k forks source link

Question about kernel size of class LastLevelMaxPool(ExtraFPNBlock) in feature_pyramid_network.py #3632

Open kk3dmax opened 3 years ago

kk3dmax commented 3 years ago

❓ Questions and Help

Why the pool kernel = 1? I think it should be 2 (my understanding is that kernel = 1 won't do max pooling correctly. line 175: x.append(F.max_pool2d(x[-1], 1, 2, 0))

kk3dmax commented 3 years ago

No one can confirm this?

gyl2565309278 commented 3 weeks ago

I have the same question too.