Caffe image resize problem

129 views
Skip to first unread message

Devendra Mandan

unread,
Aug 21, 2015, 3:35:10 PM8/21/15
to Caffe Users
Hey there,

I used the following script given on Caffe Imagenet tutorial to resize my rgb images to 256*256, but some (~800 out of 15k) of the images became greyscale upon this, i.e; ndims(im) = 2, then I fine-tuned my net using this image dataset comprising of ~800/15k total images. I just want to ask, do I have to finetune again if this is wrong, please help.

for name in /path/to/imagenet/val/*.JPEG; do convert -resize 256x256\! $name $name done
Reply all
Reply to author
Forward
0 new messages