Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
claimae opened this issue Jun 17, 2020 · 1 comment

Comments

@claimae
Copy link

claimae commented Jun 17, 2020

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!

@ferranmartinezlleida
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants