mmrazor
mmrazor copied to clipboard
How to train my own datasets?
I use data in coco format, the category is a category, how to modify the category?
This document might be helpful to you. https://mmdetection.readthedocs.io/en/latest/tutorials/customize_dataset.html#modify-dataset-classes
@pprp I don't alter which files to change my own classes, I need some help. Thanks.
Hi, @Audrey528
Can you provide the full config?
@pprp I wanna train voc format dataset using mmdet, I change two places in cwd_cls_head_gfl_r101_fpn_gfl_r50_fpn_1x_coco.py.
I have some questions.
- I have two classes, which file can I alter classes?
- just like the below picture, do I need to change the part cfg?
3.How can I install mmdet?
@pprp I have solved 1 and 3.
Hi, @Audrey528
As for the second question, I think there is no need to change this part config, because the distiller have nothing to do with the number of classes.
@pprp I wanna train voc format dataset using mmdet, I change two places in cwd_cls_head_gfl_r101_fpn_gfl_r50_fpn_1x_coco.py.
![]()
I have some questions.
- I have two classes, which file can I alter classes?
- just like the below picture, do I need to change the part cfg?
3.How can I install mmdet?
![]()
Hello. How did you install mmdet? After I installed it according to the official tutorial, I still reported an error in the train_mmdet.py file.
Hello. How did you install mmdet? After I installed it according to the official tutorial, I still reported an error in the train_mmdet.py file.
@xuhao-anhe hi, sorry for my late response. I used the following commands:
python setup.py install
or pip install -e .
.
As for the error in the train_mmdet.py
file, can you share the detailed error log?
I use data in coco format, the category is a category, how to modify the category?
go cheak doc of mmdetection, it has details on using your own dataset