AlexeyAB / Yolo_mark

GUI for marking bounded boxes of objects in images for training neural network Yolo v3 and v2

Home Page:https://github.com/AlexeyAB/darknet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Converting images that were labeled in YOLOv2 format (xml) into a YOLOv3 format (txt)

claimae opened this issue · comments

Hello! I am looking to convert an existing dataset of already labeled images for used in yolov3. The already labeled images however were annotated for use with YOLOv2 with .xml files. Can I convert those .xml files into .txt files so that YOLOv3 will recognize them as bounding boxes?

We are hoping to not have to reannotate a large dataset just to get the .txt files that we need.

Thank you in advance for any input!

I've been training with yolov3 a lot lately and I had to translate various formats to the yolov3 annotation format. I presume you can automate it in order to translate one format to another. With python is at most one morning of work to do the script, what is the format you are working? I haven't looked at yolov2 too much.