Skip to content
New issue

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

KeyError: 'BRNet is not in the detector registry' #5

Closed
WangZhouTao opened this issue Jun 8, 2021 · 6 comments
Closed

KeyError: 'BRNet is not in the detector registry' #5

WangZhouTao opened this issue Jun 8, 2021 · 6 comments

Comments

@WangZhouTao
Copy link

Thank you for your good work!
I am trying to run BRNet on my computer.
I get an error when I try to train BRNet.
Traceback (most recent call last): File "tools/train.py", line 213, in <module> main() File "tools/train.py", line 178, in main test_cfg=cfg.get('test_cfg')) File "/home/logic/Desktop/2021Project/mmdetection3d/mmdet3d/models/builder.py", line 48, in build_detector return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg)) File "/home/logic/Desktop/2021Project/mmdetection/mmdet/models/builder.py", line 34, in build return build_from_cfg(cfg, registry, default_args) File "/home/logic/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 172, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'BRNet is not in the detector registry'
Coud you provied any suggestion? It seem like a version problem of mmcv.

@cheng052
Copy link
Owner

cheng052 commented Jun 9, 2021

open-mmlab_conda.txt

@cheng052
Copy link
Owner

cheng052 commented Jun 9, 2021

Here I provide the conda env config file.

You should change the file name suffix to "open-mmlab_conda.yml", and run conda env create -f open-mmlab_conda.yml. It takes some time on installing the packages, especially pip packages, just wait until complete.

Hope it will help you!

@WangZhouTao
Copy link
Author

Thank you for your config file! It can work.

@koalaaaaaaaaa
Copy link

您好,请问您知道mmdet3d哪个版本开始不支持brnet了吗,因为我查了下mmdet3d的发布历史没有查到这个改动[捂脸]

@cheng052
Copy link
Owner

cheng052 commented Feb 8, 2022

Sorry, I'm not very clear about it. The rapid changing of mmdet3d leads to incompatibility with older versions.
You can follow the conda env file to create a correct env, or make some changes to the code to support a newer version of mmdet3d.

@koalaaaaaaaaa
Copy link

koalaaaaaaaaa commented Feb 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants