Open stu0440 opened 7 months ago
自己写了一个backbones-->ZhRes50Unet,在init.py添加了,但是在使用时报错,下面报错信息: KeyError: 'ZhRes50Unet is not in the mmseg::model registry. Please check whether the value of ZhRes50Unet 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'
ZhRes50Unet
Are you using pip install "mmsegmentation>=1.0.0"? Try installing mmseg from source.
请问解决了吗
自己写了一个backbones-->ZhRes50Unet,在init.py添加了,但是在使用时报错,下面报错信息: KeyError: 'ZhRes50Unet is not in the mmseg::model registry. Please check whether the value of
ZhRes50Unet
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'