joheras / CLoDSA

123 stars 32 forks source link

How to do with yolov5 with xml annotations? #56

Closed IamNaQi closed 2 years ago

IamNaQi commented 2 years ago

Hi

I am very thankful for your great work. I am facing an issue to how to YOLO format where I have a annotation in xml format.

Like this

- Folder

|- image1.jpg

|- image1.xml

|- image2.jpg

|- image2.xml

|- ...

Please give an example

joheras commented 2 years ago

Hi,

Currently, is the yolo v5 xml format the same as PascalVOC? If that is the case, you can use the code from the following notebook: https://colab.research.google.com/github/joheras/CLoDSA/blob/master/notebooks/CLODSA_Plants.ipynb#scrollTo=b3fsGvQfafSc

If it is a different format, we have to implement the functionality to process that kind of xml file.

Best, Jónathan

El lun, 28 feb 2022 a las 22:34, IamNaQi @.***>) escribió:

Hi

I am very thankful for your great work. I am facing an issue to how to YOLO format where I have a annotation in xml format.

Like this

- Folder # |- image1.jpg # |- image1.xml # |- image2.jpg # |- image2.xml

|- ...

Please give an example

— Reply to this email directly, view it on GitHub https://github.com/joheras/CLoDSA/issues/56, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJRAG3JQFL4PATNTUDIPCDU5U3XTANCNFSM5PSHR5IQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

IamNaQi commented 2 years ago

You are life saver

thank you so much @ @joheras