Open ClementLeBihan opened 11 months ago
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
main branch https://github.com/open-mmlab/mmdetection3d
sys.platform: linux Python: 3.8.12 (default, Oct 12 2021, 13:49:34) [GCC 7.5.0] CUDA available: True numpy_random_seed: 2147483648 GPU 0: NVIDIA RTX A3000 Laptop GPU CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 11.3, V11.3.109 GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 PyTorch: 1.11.0 PyTorch compiling details: PyTorch built with:
TorchVision: 0.12.0 OpenCV: 4.8.1 MMEngine: 0.10.1 MMDetection: 3.2.0 MMDetection3D: 1.3.0+ spconv2.0: False
python tools/misc/visualize_results.py ./configs/base/datasets/kitti-3d-car.py --result /tmp/tmp0jg9i1sk/results/pred_instances_3d.pkl --show-dir show-dir/
AttributeError: 'ConfigDict' object has no attribute 'data'` error
Hi, I'm trying to use the visualize_result script from (https://mmdetection3d.readthedocs.io/en/latest/user_guides/visualization.html#results) but it seems that visualize_results.py isn't up to date to work with mmengine : I've got the AttributeError: 'ConfigDict' object has no attribute 'data' error. Is it normal ? What should I do ?
AttributeError: 'ConfigDict' object has no attribute 'data'
Best, Clément
Any update on this issue? I am also encountering the problem. Thanks
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.8.12 (default, Oct 12 2021, 13:49:34) [GCC 7.5.0] CUDA available: True numpy_random_seed: 2147483648 GPU 0: NVIDIA RTX A3000 Laptop GPU CUDA_HOME: /usr/local/cuda NVCC: Cuda compilation tools, release 11.3, V11.3.109 GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 PyTorch: 1.11.0 PyTorch compiling details: PyTorch built with:
TorchVision: 0.12.0 OpenCV: 4.8.1 MMEngine: 0.10.1 MMDetection: 3.2.0 MMDetection3D: 1.3.0+ spconv2.0: False
Reproduces the problem - code sample
python tools/misc/visualize_results.py ./configs/base/datasets/kitti-3d-car.py --result /tmp/tmp0jg9i1sk/results/pred_instances_3d.pkl --show-dir show-dir/
Reproduces the problem - command or script
python tools/misc/visualize_results.py ./configs/base/datasets/kitti-3d-car.py --result /tmp/tmp0jg9i1sk/results/pred_instances_3d.pkl --show-dir show-dir/
Reproduces the problem - error message
AttributeError: 'ConfigDict' object has no attribute 'data'` error
Additional information
Hi, I'm trying to use the visualize_result script from (https://mmdetection3d.readthedocs.io/en/latest/user_guides/visualization.html#results) but it seems that visualize_results.py isn't up to date to work with mmengine : I've got the
AttributeError: 'ConfigDict' object has no attribute 'data'
error. Is it normal ? What should I do ?Best, Clément