Visual-Attention-Network / SegNeXt

Official Pytorch implementations for "SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentation" (NeurIPS 2022)
Apache License 2.0
796 stars 85 forks source link

KeyError: "EncoderDecoder: 'MSCAN is not in the models registry'" #5

Closed EItByTe closed 2 years ago

EItByTe commented 2 years ago

when I run the train.py, I met with the error.Anyone can help me ...? thanks a lot! I have checked the register and init.py in mmseg/models and mmseg/models/backbones. The MSCAN module should have been registered.

image

uyzhang commented 2 years ago

You should execute this command to install segnext : cd SegNeXt and python setup.py develop

EItByTe commented 2 years ago

Thanks a lot !! I have already executed cd SegNeXt and python setup.py develop, but it still not works. But I have solved it by executing pip install -e . in SegNeXt folder.