Why resize to (256, 256) ?
mohanson opened this issue · comments
Mohanson commented
In deploy.prototxt, the input_param is { shape: { dim: 1 dim: 3 dim: 224 dim: 224 } }
but in classify_nsfw.py, images are resized to (256, 256).
Huang Yibin commented
@mohanson
In training phase, the image size is 256_256, then random crop size 224_224 to do data augmentation
While in test size, center cropping is uesd to test the image
In this situation, image are resized to 256_256, but caffe only process the center part 224_224
Mohanson commented
Very thanks and sorry for I didn't take a look in closed issues.