mmrazor icon indicating copy to clipboard operation
mmrazor copied to clipboard

How to train my own datasets?

Open Muke6 opened this issue 2 years ago • 9 comments

I use data in coco format, the category is a category, how to modify the category? 微信截图_20220418201903

Muke6 avatar Apr 18 '22 12:04 Muke6

This document might be helpful to you. https://mmdetection.readthedocs.io/en/latest/tutorials/customize_dataset.html#modify-dataset-classes

pprp avatar Apr 18 '22 12:04 pprp

@pprp I don't alter which files to change my own classes, I need some help. Thanks.

Audrey528 avatar May 27 '22 15:05 Audrey528

Hi, @Audrey528

Can you provide the full config?

pprp avatar May 27 '22 15:05 pprp

@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. 1653709331(1) 1653709383(1)

I have some questions.

  1. I have two classes, which file can I alter classes?
  2. just like the below picture, do I need to change the part cfg? 1653709523(1) 3.How can I install mmdet? 1653709769(1)

Audrey528 avatar May 28 '22 03:05 Audrey528

@pprp I have solved 1 and 3.

Audrey528 avatar May 28 '22 05:05 Audrey528

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 avatar May 28 '22 07:05 pprp

@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. 1653709331(1) 1653709383(1)

I have some questions.

  1. I have two classes, which file can I alter classes?
  2. just like the below picture, do I need to change the part cfg? 1653709523(1) 3.How can I install mmdet? 1653709769(1)

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 avatar Jun 19 '22 05:06 xuhao-anhe

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?

pprp avatar Jul 05 '22 00:07 pprp

I use data in coco format, the category is a category, how to modify the category? 微信截图_20220418201903

go cheak doc of mmdetection, it has details on using your own dataset

luoxinstart avatar May 06 '23 08:05 luoxinstart