Open SaliormoonLadyZhao opened 2 years ago
A custom model can completely delete the modified part of the inherited config.
Thank you very much for your reply, but I'm sorry. I'm a new hand, could you please tell me more details? I'm a little confused, thank you
A custom model can completely delete the modified part of the inherited config.
Thank you very much for your reply, but I'm sorry. I'm a new hand, could you please tell me more details? I'm a little confused, thank you
I'm getting same error.
I am having the same problem (different net, vfnet in my case)
I am using a custom dataset in order to do so I made a custom config file (adapting the one in the docs) and there is explicitly the rewriting of the model (since there are different classes) where in the model dict there is roi_head as key argument
I believe I found the problem, since vfnet has no roi_head keyword I provide only the bbox_head (in order to change the number of classes from 80 (COCO) default to 5 (mine classes)
Thanks for your error report and we appreciate it a lot.
Describe the bug
Reproduction
Using some of the models like 'HighFPN', 'two_stage' in https://github.com/Gus-Guo/AugFPN 'https://github.com/Gus-Guo/AugFPN' is also in MMdetection format
A public data set in coco format
Environment
python mmdet/utils/collect_env.py
to collect necessary environment information and paste it here.Python: 3.7.0 (default, Oct 9 2018, 10:31:47) [GCC 7.3.0] CUDA available: True GPU 0: NVIDIA GeForce RTX 3090 GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 PyTorch: 1.8.0 TorchVision: 0.9.0 OpenCV: 4.5.5 MMCV: 1.3.9 MMCV Compiler: GCC 7.3 MMCV CUDA Compiler: 11.1 MMDetection: 2.14.0+
Error traceback If applicable, paste the error trackback here.
Bug fix If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!