intel / caffe

This fork of BVLC/Caffe is dedicated to improving performance of this deep learning framework when running on CPU, in particular Intel® Xeon processors.
Other
849 stars 491 forks source link

How to convert .xml file into train.txt and val.txt for LMDB conversion in caffe training for object detection? #290

Open Samjith888 opened 5 years ago

Samjith888 commented 5 years ago

I have read intel caffe tutorial.. By using that i have annotated each object in the image of train and validation directory .. Use LabelImg tool , it generated .xml file for each image separately.. now i have to convert this several.xml file into train m.txt and val.txt .. How can i do this ? Any suggestions please

ftian1 commented 5 years ago

you can refer to how examples/faster-rcnn/lib/datasets/pascal_voc.py _load_pascal_annotation() handles VOC2007 annotation xml file.