2. You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., ~~pip~~, conda, ~~source~~]
- Other environment variables that may be related (such as `$PATH`, `$LD_LIBRARY_PATH`, `$PYTHONPATH`, etc.)
**Error traceback**
If applicable, paste the error trackback here.
Traceback (most recent call last):
File "tools/test.py", line 260, in
main()
File "tools/test.py", line 203, in main
dataset = build_dataset(cfg.data.test)
File "mmdetection3d/mmdet3d/datasets/builder.py", line 43, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/home//.local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 44, in build_from_cfg
raise KeyError(
KeyError: 'CocoDataset is not in the dataset registry'
**Bug fix**
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
Thanks for your wonderful library! Please find my error description
Checklist
I have searched related issues but cannot get the expected help.I looked up issues in mmcv and mmdetection too, but didn't find anything there.The bug has not been fixed in the latest version.Describe the bug I'm trying to test nuImage using the test.py script, but I can't find CocoDataset in the registry
Reproduction
Did you make any modifications on the code or config? Did you understand what you have modified? No
What dataset did you use? NuImages
Environment
python mmdet3d/utils/collect_env.py
to collect necessary environment information and paste it here.TorchVision: 0.8.1+cu110 OpenCV: 4.5.4-dev MMCV: 1.5.0 MMCV Compiler: GCC 9.4 MMCV CUDA Compiler: 11.0 MMDetection: 2.25.0 MMSegmentation: 0.24.1 MMDetection3D: 1.0.0rc2+b560c6b spconv2.0: False
Traceback (most recent call last): File "tools/test.py", line 260, in
main()
File "tools/test.py", line 203, in main
dataset = build_dataset(cfg.data.test)
File "mmdetection3d/mmdet3d/datasets/builder.py", line 43, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/home//.local/lib/python3.8/site-packages/mmcv/utils/registry.py", line 44, in build_from_cfg
raise KeyError(
KeyError: 'CocoDataset is not in the dataset registry'