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

how to train my custom dataset is in coco json format? #127

Open
ayennam opened this issue May 4, 2022 · 2 comments
Open

how to train my custom dataset is in coco json format? #127

ayennam opened this issue May 4, 2022 · 2 comments

Comments

@ayennam
Copy link

ayennam commented May 4, 2022

here using virat drone dataset, is in coco json format how to train with it, @yijingru

@yijingru
Copy link
Owner

yijingru commented May 4, 2022

Hi, for a custom dataset, you may need to make a new datasets/dataset_custom.py to load images and annotations. You may find datasets/dataset_dota.py as an example. Then add your custom dataset to

dataset = {'dota': DOTA, 'hrsc': HRSC}
and
self.dataset_phase = {'dota': ['train'],

@tcotte
Copy link

tcotte commented Sep 27, 2022

You can transform your COCO json format dataset into DOTA format using this repo :
https://github.com/tcotte/coco2yolo_obb

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