Replies: 2 comments
-
@ajbrock I'm doing it the way everyone else does for ImageNet. Torchvision resize is resize short edge to size if it's a single scalar. Believe the resize short edge to 256, and then take center 224x224 crop was in AlexNet paper way back when, or maybe VGG. |
Beta Was this translation helpful? Give feedback.
-
Cool, thanks! Just for clarity my question stems from being used to the way it's done in the EffNet codebase (and all the followons) and assuming this was the most common. A little bit of forensic digging in old TF code suggests that the center-crop-> resize might originate with the Inception preproc whereas the VGG preproc is using resize->center-crop. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hi Ross,
I noticed your eval preproc uses resize->center crop instead of crop-long-edge-to-square->resize. Do you have a reference/citation for this style of preproc or is this something you came up with?
Thanks,
Andy
Beta Was this translation helpful? Give feedback.
All reactions