Open ayennam opened 2 years ago
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 https://github.com/yijingru/BBAVectors-Oriented-Object-Detection/blob/9ce1f3d250ec0625c53ae05f1b37b4ee3085e2a8/main.py#L34 and
https://github.com/yijingru/BBAVectors-Oriented-Object-Detection/blob/9ce1f3d250ec0625c53ae05f1b37b4ee3085e2a8/train.py#L25
You can transform your COCO json format dataset into DOTA format using this repo : https://github.com/tcotte/coco2yolo_obb
here using virat drone dataset, is in coco json format how to train with it, @yijingru