open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.21k stars 9.4k forks source link

KeyError: 'Mask2Former is not in the mmengine::model registry. Please check whether the value of `Mask2Former` is correct or it was registered as expected #11762

Open NewCodeStd opened 4 months ago

NewCodeStd commented 4 months ago

Traceback (most recent call last): File "F:\Anaconda\Lib\site-packages\mmengine\registry\build_functions.py", line 100, in build_from_cfg raise KeyError( KeyError: 'Mask2Former is not in the mmengine::model registry. Please check whether the value of Mask2Former is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'