echo "Creating val lmdb..."
GLOG_logtostderr=1 $TOOLS/convert_imageset \
--resize_height=$RESIZE_HEIGHT \
--resize_width=$RESIZE_WIDTH \
--shuffle \
$VAL_DATA_ROOT \
$DATA/val.txt \
$EXAMPLE/ilsvrc12_val_lmdb
One thing I would like to know is: Will the resize operation change the aspect ration of the original images? For example, if the size of the original image is 150x120 (widthxheight), and the RESIZE_HEIGHT is 80 and RESIZE_WIDTH is 120. Then what is the size of the resized image? Will Caffe do some padding to keep the aspect ratio?
Thanks very much for any comment!
Best wishes,
Yin
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/MqE-YaZs8R4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/dcc0905e-18c8-4b14-a47e-13dba6043758%40googlegroups.com.