open-mmlab / mmdetection3d

OpenMMLab's next-generation platform for general 3D object detection.
https://mmdetection3d.readthedocs.io/en/latest/
Apache License 2.0
5k stars 1.49k forks source link

[Bug] browse_dataset with saving in given output dir #2963

Open VeeranjaneyuluToka opened 2 months ago

VeeranjaneyuluToka commented 2 months ago

Prerequisite

Task

I'm using the official example scripts/configs for the officially supported tasks/models/datasets.

Branch

main branch https://github.com/open-mmlab/mmdetection3d

Environment

sys.platform: linux Python: 3.7.10 (default, Feb 26 2021, 18:47:35) [GCC 7.3.0] CUDA available: False MUSA available: False numpy_random_seed: 2147483648 GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 PyTorch: 1.9.0 PyTorch compiling details: PyTorch built with:

TorchVision: 0.10.0 OpenCV: 4.9.0 MMEngine: 0.10.3 MMDetection: 3.3.0 MMDetection3D: 1.4.0+ spconv2.0: False

Reproduces the problem - code sample

used the browse_dataset.py

Reproduces the problem - command or script

python tools/misc/browse_dataset.py configs/centerpoint/centerpoint_pillar02_second_secfpn_8xb4-cyclic-20e_custom-3d.py --task lidar_det --output-dir ./gt_images

Reproduces the problem - error message

pc_0

Additional information

Pointcloud with GT bbox drawn as shown below