Closed ecm200 closed 4 years ago
make a Derived class of CocoDataset like ../mmdet/datasets/cityscapes.py
Hi @ecm200 ,
Yes there is sth to do. You do not need to modify the code, but you need to set the classes of dataset through the config, like that in the Modify classes of existing dataset
of tutorial. Then it should be fine.
Same question as topic. Tutorial doesnot work.
Hi @we1pingyu ,
Could you open a new issue following the Error Template
? Please be more specific about your doesnot work
thus we could more precisely locate the problem and fix it.
https://github.com/open-mmlab/mmdetection/issues/2965#issue-635488115 thank you for your reply
@ZwwWayne
I am training a custom dataset, which has been converted to COCO dataset format with annotations saved in a JSON file. I am using the COCO model configs as the default configuration and changing the configuration to suit my specific problem.
I have modified the dataset dictionaries to include an updated classes list (in my case it is only a binary problem initially, although plans are to expand to multiple classes). The modified configuration file is shown below for reference.
I have made sure to specify the number of classes in both the bounding box head and the mask head classifiers, but all other parameters remain the same as the COCO example.
Are there any other specifications that need to be changed when changing the number of classes of objects?