data process
alicera opened this issue · comments
alicera commented
For data of training process,
If I have image size 100x160(h x w) and I want to design a 224 x 224 network.
How to deal with the images is better?
- dirctly resize the image size 100x160 to 224x224
- resize the image size 100x160 to 224x224 with padding 0
Hang Zhang commented
2 is better
alicera commented
Hi zhanghang
How about your data process for image resize?
Here is your process, right?
resize the image size 100x160 to 224x224 with padding 0
https://github.com/zhanghang1989/ResNeSt/blob/master/scripts/torch/verify.py#L140
Hang Zhang commented
Yea, that's the crop method for evaluation