Open mn7142 opened 6 years ago
the preprocessing stuff resize the images. Just set the training image size in the scripts
@ciciphus Where should I set the size؟ please help me to find this part of code
not sure what size u would like to set. In train.sh you can set the training image size(input of the neural network) , but that's not relate to your image size. Cuz it has some other operations like rotate and crop in preprocessing/ssd_vgg_preprocessing.py .
tf_image.py resize_image函数里面可以这样保持比例: image = tf.image.resize_image_with_pad(image, size[0], size[1]) 在test阶段: def preprocess_for_eval(image, labels, bboxes, xs, ys, out_shape, data_format='NHWC', resize=Resize.WARP_RESIZE, do_resize = False, scope='ssd_preprocessing_train')
size of images in icdar 2015 is 720*1280 and fix for all images in my dataset size of image is variant , is this important? Should the size of the images be fixed؟