mmsegmentation icon indicating copy to clipboard operation
mmsegmentation copied to clipboard

添加模型之后报错

Open stu0440 opened this issue 1 year ago • 2 comments

自己写了一个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'

stu0440 avatar Mar 05 '24 14:03 stu0440

Are you using pip install "mmsegmentation>=1.0.0"? Try installing mmseg from source.

Zoulinx avatar Mar 29 '24 02:03 Zoulinx

请问解决了吗

Saillxl avatar May 07 '24 03:05 Saillxl