Open chenweifu2008 opened 3 years ago
@chenweifu2008 Our project is based on Detectron2, so you can refer to the documents of Detectron2 for this. https://detectron2.readthedocs.io/en/latest/tutorials/datasets.html
The easiest way should be to convert your data to the COCO format, though.
Steps I followed:
1) Create bbox
annotations for your custom data, convert them into COCO format.
2) Update the config parameters according to your custom data. (eg. NUM_CLASSES
)
3) Write a custom script in tools/train_net.py
to register
your train and test data for Pytorch dataloader
4) Training begins
Hi! I wanna train my personal data(1 class). can u give me some instructions?should i convert my data into coco format? thx!