imvoxelnet for mono_det_demo #2206
Unanswered
yujimori1967github
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am interested in One-Stage Monocular 3D Object Detection, and I am watching it with great interest.
I was able to get "FCOS3D: Fully Convolutional One-Stage Monocular 3D Object Detection" working by running mono_det_demo.py.
Similarly, we believe that ImVoxelNet can detect indoor images. Please tell me how to make it work like the demo.
I wrote the code like below, but an error occurred.
python demo/mono_det_demo.py
--out-dir demo/result.jpg
demo/data/nuscenes/n015-2018-07-24-11-22-45+0800__CAM_BACK__1532402927637525.jpg
demo/data/nuscenes/n015-2018-07-24-11-22-45+0800__CAM_BACK__1532402927637525_mono3d.pkl
configs/imvoxelnet/imvoxelnet_2xb4_sunrgbd-3d-10class.py
checkpoints/imvoxelnet_4x2_sunrgbd-3d-10class_20220809_184416-29ca7d2e.pth
==result==
01/09 11:01:04 - mmengine - WARNING - The "model" registry in mmdet3d did not set import location. Fallback to call
mmdet3d.utils.register_all_modules
instead.01/09 11:01:04 - mmengine - WARNING - The "model" registry in mmdet did not set import location. Fallback to call
mmdet.utils.register_all_modules
instead.01/09 11:01:05 - mmengine - WARNING - The "task util" registry in mmdet3d did not set import location. Fallback to call
mmdet3d.utils.register_all_modules
instead.Loads checkpoint by local backend from path: /content/mmdetection3d/checkpoints/imvoxelnet_4x2_sunrgbd-3d-10class_20220809_184416-29ca7d2e.pth
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/mmengine/config/config.py", line 51, in getattr
value = super().getattr(name)
File "/usr/local/lib/python3.8/dist-packages/addict/addict.py", line 67, in getattr
return self.getitem(item)
File "/usr/local/lib/python3.8/dist-packages/mmengine/config/config.py", line 47, in missing
raise KeyError(name)
KeyError: 'visualizer'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "demo/mono_det_demo.py", line 74, in
main(args)
File "demo/mono_det_demo.py", line 48, in main
visualizer = VISUALIZERS.build(model.cfg.visualizer)
File "/usr/local/lib/python3.8/dist-packages/mmengine/config/config.py", line 808, in getattr
return getattr(self._cfg_dict, name)
File "/usr/local/lib/python3.8/dist-packages/mmengine/config/config.py", line 53, in getattr
raise AttributeError(f"'{self.class.name}' object has no "
AttributeError: 'ConfigDict' object has no attribute 'visualizer'
Beta Was this translation helpful? Give feedback.
All reactions