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

Dear Bowen,I meet a problem in runing this code.TypeError: BRNet: CAVoteHead: cfg must be a dict, but got <class 'NoneType'> My mmdet3D version is v0.15.0. #6

Closed
xiyuchenji opened this issue Aug 2, 2021 · 1 comment

Comments

@xiyuchenji
Copy link

Traceback (most recent call last):
File "tools/train.py", line 232, in
main()
File "tools/train.py", line 191, in main
test_cfg=cfg.get('test_cfg'))
File "/home/zpx/code/代码/mmdetection3d/mmdet3d/models/builder.py", line 83, in build_model
return build_detector(cfg, train_cfg=train_cfg, test_cfg=test_cfg)
File "/home/zpx/code/代码/mmdetection3d/mmdet3d/models/builder.py", line 57, in build_detector
cfg, default_args=dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/home/zpx/anaconda3/envs/brnet/lib/python3.6/site-packages/mmcv/utils/registry.py", line 210, in build
return self.build_func(*args, **kwargs, registry=self)
File "/home/zpx/anaconda3/envs/brnet/lib/python3.6/site-packages/mmcv/cnn/builder.py", line 26, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/home/zpx/anaconda3/envs/brnet/lib/python3.6/site-packages/mmcv/utils/registry.py", line 54, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
TypeError: BRNet: CAVoteHead: cfg must be a dict, but got <class 'NoneType'>

Have you ever met this problem?
By the way,my mmdet3D version is v0.15.0. for NVIDIA 30 series GPU.

@cheng052
Copy link
Owner

cheng052 commented Aug 2, 2021

I don't try to use mmdet3d v0.15.0, and just run the code using mmdet3d v0.11.0.

You may refer to this issue #5, where I have provided the conda env config file.

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

2 participants