zhanghang1989 / ResNeSt

ResNeSt: Split-Attention Networks

Home Page:https://arxiv.org/abs/2004.08955

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data process

alicera opened this issue · comments

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?

  1. dirctly resize the image size 100x160 to 224x224
  2. resize the image size 100x160 to 224x224 with padding 0

2 is better

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

Yea, that's the crop method for evaluation