detrex
detrex copied to clipboard
How to train unregular box?
Hi, my data set labels are unregular, where to modify the data preprocessing code? The format of the label is like this:
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 thank you for your reply, does data augmentation need to be modified?
@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 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
@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