SwinTransformer / Swin-Transformer-Semantic-Segmentation

This is an official implementation for "Swin Transformer: Hierarchical Vision Transformer using Shifted Windows" on Semantic Segmentation.
https://arxiv.org/abs/2103.14030
Apache License 2.0
1.16k stars 223 forks source link

KeyError: "EncoderDecoder: 'SwinTransformer is not in the backbone registry' #45

Open kekexixili opened 2 years ago

kekexixili commented 2 years ago

请问这是什么错误

impiga commented 2 years ago

Hi, have you installed the requirements according to this page?

If not, you may run following commands and try again.

conda create -n swin python=3.7 -y
conda activate swin

conda install pytorch=1.6.0 torchvision cudatoolkit=10.1 -c pytorch
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.6.0/index.html
git clone https://github.com/SwinTransformer/Swin-Transformer-Semantic-Segmentation.git
cd Swin-Transformer-Semantic-Segmentation
pip install -e .