ssaru / convert2Yolo

This project purpose is convert voc annotation xml file to yolo-darknet training file format
458 stars 182 forks source link

A slight change needed in the convert2Yolo.py script #3

Closed hakimka closed 6 years ago

hakimka commented 6 years ago

If for any reason an XML file would not have "object" entity, the script chokes at image

I'd suggest to close the xml"file before removing it from them "xml_path".

Thanks.

ssaru commented 6 years ago

Hello, hakimka!

i was edit my code following your suggestion

plz check it !

Thanks!