detrex icon indicating copy to clipboard operation
detrex copied to clipboard

How to train unregular box?

Open Joyako opened this issue 1 year ago • 5 comments

Hi, my data set labels are unregular, where to modify the data preprocessing code? The format of the label is like this:

截屏2023-08-07 上午10 40 43

Joyako avatar Aug 07 '23 02:08 Joyako

You can try to register your own data following detectron2's official documentation here: https://detectron2.readthedocs.io/en/latest/tutorials/datasets.html

Then you can try to update the data config to load your own dataset.

rentainhe avatar Aug 07 '23 02:08 rentainhe

@rentainhe thank you for your reply, does data augmentation need to be modified?

Joyako avatar Aug 07 '23 03:08 Joyako

@rentainhe thank you for your reply, does data augmentation need to be modified?

Yes, we use detectron2's default data augmentation, but it only works on the normal box, you should double-check this in detectron2's source code.

rentainhe avatar Aug 07 '23 03:08 rentainhe

@rentainhe thank you for your reply, does data augmentation need to be modified?

Yes, we use detectron2's default data augmentation, but it only works on the normal box, you should double-check this in detectron2's source code.

thanks, I got it

Joyako avatar Aug 07 '23 03:08 Joyako

@rentainhe thank you for your reply, does data augmentation need to be modified?

Yes, we use detectron2's default data augmentation, but it only works on the normal box, you should double-check this in detectron2's source code.

thanks, I got it

You're welcome, detectron2's documentation has detailed tutorial on how to register your own dataset and augmentations, it may be helpful

rentainhe avatar Aug 07 '23 04:08 rentainhe