Closed DavidZah closed 1 year ago
Can you locate where
python: malloc.c:4105: _int_malloc: Assertion `chunk_main_arena (bck->bk)' failed
comes from ? It looks like an installation error.
Oh am really sorry this is not the error i was experiencing it was fixed after env restart. Here is the error : Traceback (most recent call last): File "/home/david/miniconda3/envs/openmmlab/lib/python3.8/site-packages/mmdeploy/utils/utils.py", line 41, in target_wrapper result = target(args, kwargs) File "/home/david/miniconda3/envs/openmmlab/lib/python3.8/site-packages/mmdeploy/apis/visualize.py", line 72, in visualize_model result = model.test_step(model_inputs)[0] File "/home/david/.local/lib/python3.8/site-packages/mmengine/model/base_model/base_model.py", line 145, in test_step return self._run_forward(data, mode='predict') # type: ignore File "/home/david/.local/lib/python3.8/site-packages/mmengine/model/base_model/base_model.py", line 340, in _run_forward results = self(data, mode=mode) File "/home/david/miniconda3/envs/openmmlab/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl return forward_call(input, **kwargs) File "/home/david/miniconda3/envs/openmmlab/lib/python3.8/site-packages/mmdeploy/codebase/mmdet3d/deploy/voxel_detection_model.py", line 104, in forward prediction = VoxelDetectionModel.postprocess( File "/home/david/miniconda3/envs/openmmlab/lib/python3.8/site-packages/mmdeploy/codebase/mmdet3d/deploy/voxel_detection_model.py", line 273, in postprocess batch_heatmap = cls_score[:, TypeError: list indices must be integers or slices, not tuple 08/24 10:38:16 - mmengine - ERROR - tools/deploy.py - create_process - 82 - visualize onnxruntime model failed.
@DavidZah hi, it should be fixed in here. pls. try with the latest mmdeploy https://github.com/open-mmlab/mmdeploy/blob/4dbba14643e1e6e6ab348c88d8abb974c585aeed/mmdeploy/codebase/mmdet3d/deploy/voxel_detection_model.py#L259-L261
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.
I want to ask how to set the data_path when running tools/deploy.py on KITTI datasets for KITTI datasets have no files of ".pcd.bin" format.
Checklist
Describe the bug
Am not able to export centerpoint model from https://mmdeploy.readthedocs.io/en/latest/04-supported-codebases/mmdet3d.html. I try diferent versions. Thx for help
Reproduction
python tools/deploy.py configs/mmdet3d/voxel-detection/voxel-detection_onnxruntime_dynamic.py configs/centerpoint/centerpoint_pillar02_second_secfpn_head-circlenms_8xb4-cyclic-20e_nus-3d.py mmdet3d/centerpoint_02pillar_second_secfpn_circlenms_4x8_cyclic_20e_nus_20220811_031844-191a3822.pth mmdet3d/v1.0-mini/sweeps/LIDAR_TOP/n008-2018-08-01-15-16-36-0400__LIDAR_TOP__1533151603747767.pcd.bin --work-dir centerpoint
Environment
Error traceback