Re: Having an issue with convert_imageset

25 views
Skip to first unread message
Message has been deleted

barkın tuncer

unread,
Feb 5, 2017, 8:52:44 AM2/5/17
to Caffe Users
No one knows the solution ?

4 Şubat 2017 Cumartesi 23:48:04 UTC+3 tarihinde barkın tuncer yazdı:
Hello,

I am trying to make a proper database for my project however, I failed at convert_imageset part. I have 375 jpg images and I created a txt file like ;
image_0159.jpg 9
image_0002.jpg 0 
image_0422.jpg 24
image_0322.jpg 19
image_0296.jpg 18
image_0185.jpg 12

It goes like that and I try the code below;

sudo /home/barkntuncer/caffe/build/tools/convert_imageset --resize_height=200 --resize_width=200 --gray --shuffle /home/barkntuncer/faces/ /home/barkntuncer/faces/train.txt /home/barkntuncer/faces/deneme

The jpg images and the txt file are in /home/barkntuncer/faces/. However I got this error for all the images this is just an example:
E0204 23:39:36.788301  4390 io.cpp:80] Could not open or find file /home/barkntuncer/faces/image_0366.jpg 21
E0204 23:39:36.788311  4390 io.cpp:80] Could not open or find file /home/barkntuncer/faces/image_0064.jpg 3

Is there any solution ? I tried to check the error but couldnt find it



Reply all
Reply to author
Forward
0 new messages