We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行这行时: model = build_detector( cfg.model, train_cfg=cfg.get('train_cfg'), test_cfg=cfg.get('test_cfg'))
出现如下错误: KeyError: "CascadeRCNN: 'SwinTransformer is not in the backbone registry'"
The text was updated successfully, but these errors were encountered:
需要把下载的Swin-Transformer-Object-Detection工程安装下,执行python setup.py develop 后,即可正常运行.
Sorry, something went wrong.
修改mmdet版本为2.11.0
补充说明一下,README 里链接的安装步骤 get_started 是针对 MMDetection 的,具体问题在下面这一步:
git clone https://github.com/open-mmlab/mmdetection.git cd mmdetection pip install -r requirements/build.txt pip install -v -e . # or "python setup.py develop"
这里应该改成:
git clone https://github.com/SwinTransformer/Swin-Transformer-Object-Detection.git cd Swin-Transformer-Object-Detection pip install -r requirements/build.txt python setup.py develop
尽量避免跑上面那一份代码,否则可能会导致一些奇怪的问题,建议作者在 README 里说明一下。
As @leiqing1 and @Lodour figured out, please run python setup.py develop in the Swin-Transformer-Object-Detection folder.
python setup.py develop
Swin-Transformer-Object-Detection
No branches or pull requests
执行这行时:
model = build_detector(
cfg.model,
train_cfg=cfg.get('train_cfg'),
test_cfg=cfg.get('test_cfg'))
出现如下错误:
KeyError: "CascadeRCNN: 'SwinTransformer is not in the backbone registry'"
The text was updated successfully, but these errors were encountered: