open-mmlab / mmrotate

OpenMMLab Rotated Object Detection Toolbox and Benchmark
https://mmrotate.readthedocs.io/en/latest/
Apache License 2.0
1.84k stars 542 forks source link

Train on a custom dataset in 1.x branch (and other missing functionality in the 1.x branch) #770

Open gfreund123 opened 1 year ago

gfreund123 commented 1 year ago

What's the feature?

Hey, I recently started using the 1.x branch for RTMDet, but there seems to be lots of missing functionality.

How can I train on a custom dataset when i cant register DATASETS or PIPELINES with mmrotate.datasets.builder? More generally there seems to be many things i now cant use (e.g. from mmcv import Config, mmdet.models.build_detector and more).

So how should one go about editing the models config and training on a custom dataset?

The documentation doesnt seem helpful. BTW in the 1.x docs here they use from mmrotate.models.builder import ROTATED_BACKBONES which also does not exist in the branch?!. I'm a little confused.

Advice would be appreciated.

I followed the intallation here Version are: mmcv '2.0.0rc4' mmrotate '1.0.0rc1' mmdet '3.0.0rc6'

Any other context?

No response

zytx121 commented 1 year ago

Hi @gfreund123! I'm sorry for the bad experience.