caffe
caffe copied to clipboard
How to convert .xml file into train.txt and val.txt for LMDB conversion in caffe training for object detection?
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
you can refer to how examples/faster-rcnn/lib/datasets/pascal_voc.py _load_pascal_annotation() handles VOC2007 annotation xml file.