You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users
Hello
I have a text file with two classes, i have arranged them in text file as
Pic1.JPEG 0 Pic2.JPEG 0 Pic3.JPEG 1 Pic4.JPEG 1
I wanted to convert this text file to lmdb format so that i can use the lmdb format in the cifarnet.
I know from the Imagenet example using the script ./convert_imagenet.sh, i can convert the txt file to lmdb format.
Can i convert the text file to lmdb format using the scirpt in the imagenet example and use the converted lmdb format in the cifarnet?
Do you think it works? is there any other way i can convert text(with format above) to the lmdb format required by cifarnet?
Thanks BR Sharath
sharath s
unread,
Jul 23, 2015, 4:55:37 AM7/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users, ssshar...@gmail.com
I successfully converted the text files to lmdb format and it used the converted format with the CIFARNET.
What i did was, initially i created text files as mentioned below and i used the script which came along with imagenet example - ./create_imagenet.sh to convert text files to lmdb. (by changing the paths accordingly). i also used ./make_imagenet_mean.sh to produce mean.binaryproto.
These two files are enough to train CifarNet with your own dataset.
hope this is helpful, if someone faces same situtation.
npit
unread,
Jul 23, 2015, 5:07:19 AM7/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users, ssshar...@gmail.com
In general, you can use the convert_imageset and compute_image_mean executables that are in the tools/ directory, to convert to lmdb/leveldb and to compute the mean image.
The imagenet scripts you mention are just the above modified for imagenet.