YOLOv3_TensorFlow
YOLOv3_TensorFlow copied to clipboard
Can't run parse_voc_xml.py
(YOLOV3 TENSORFLOW) C:\Users\Name\YOLOv3_TensorFlow\misc>python parse_voc_xml.py Traceback (most recent call last): File "parse_voc_xml.py", line 94, in <module> gen_train_txt('train.txt') File "parse_voc_xml.py", line 79, in gen_train_txt img_names = open(path, 'r').readlines() FileNotFoundError: [Errno 2] No such file or directory: '/data/VOCdevkit/VOC2007\\ImageSets/Main/trainval.txt'
I ran the above .py file and kept receiving this issue and can't seem to rectify it. I am new to this and would appreciate if someone could be pointing out what i did wrong.
For clarification, I am training my own dataset with .xml annotations and i set it up to be the same as the VOC2007 format : C:\Users\Name\YOLOv3_TensorFlow\misc\data\VOCdevkit\VOC2007
The VOC 2007 file has sub-folders Annotations, ImageSets and JPEGImages, in which i have put the relevant content in as per the VOC 2007 format. In addition, I have around 400 annotations in which they are named Object (1).xml, Object (2).xml , etc.
It looks like u don't have trai.txt?
I have encountered the same problem. Have you solved it?