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

alternative method- COCO json to YOLO #22

Open
barney2074 opened this issue Jun 4, 2022 · 2 comments
Open

alternative method- COCO json to YOLO #22

barney2074 opened this issue Jun 4, 2022 · 2 comments

Comments

@barney2074
Copy link

For anyone else with the same problem:

I needed to consolidate multiple COCO json files (and corresponding images), sort out the class IDs, write yolo format annotation files, and separate into train/val/(test) datasets

I struggled with Python (mainly due to my limited skills) and also with applications such as fiftyone
I ended up using Pentaho and create a fairly simple transformation to convert multiple COCO datasets into one YOLO dataset

I'm sure the same could be done more easily in Python

Happy to share it- reply if you are interested

Andrew

image

@ryouchinsa
Copy link

ryouchinsa commented Feb 22, 2023

Hi @barney2074, FiftyOne looks a great datasets viewer.

If you could use RectLabel combining with FiftyOne, it would be a great use-case.
ryouchinsa/Rectlabel-support#1 (comment)

@glenn-jocher
Copy link
Member

Hi, @barney2074! Thank you for sharing your experience with using Pentaho for converting COCO datasets into a YOLO format. Your method could indeed be beneficial to others facing similar challenges. We appreciate your willingness to share and encourage you to post it in our discussion forum or create a guide for the community. Your contribution will surely prove valuable to those seeking alternative approaches. Feel free to reach out if you have any further insights or experiences to share.

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

3 participants