Open hufangjian opened 2 years ago
Thanks for your feedback. We will fix it soon. For now, maybe you can remove the show keyword in https://github.com/open-mmlab/mmdetection3d/blob/30ad1aae13fe78e5b91d6d6f9eee835c1c086612/mmdet3d/apis/test.py#L51 when you are using CenterPoint.
I got the same error during "python tools/test.py work_dirs/dv_mvx-fpn_second_secfpn_adamw_2x8_80e_kitti-3d-3class/dv_mvx-fpn_second_secfpn_adamw_2x8_80e_kitti-3d-3class.py work_dirs/dv_mvx-fpn_second_secfpn_adamw_2x8_80e_kitti-3d-3class/latest.pth --show " through set "show = True" in "single_gpu_test" Thanks
Is this error solved? I am getting the same error on detr3d
where is the code of show_results(), I am getting the same error on VoxFormer.
Seems that it's still not fixed. The docs clearly state, that '--show' is required for visualisation: https://mmdetection3d.readthedocs.io/en/latest/1_exist_data_model.html
I run: python tools/test.py configs/centerpoint/centerpoint_01voxel_second_secfpn_dcn_circlenms_4x8_cyclic_20e_nus.py work_dir/centerpoint/centerpoint_01voxel_second_secfpn_dcn_circlenms_4x8_cyclic_20e_nus.pth --show --show-dir eval_results/
get this error: Traceback (most recent call last): File "tools/test.py", line 217, in
main()
File "tools/test.py", line 187, in main
outputs = single_gpu_test(model, data_loader, args.show, args.show_dir)
File "/home/hufangjian/research/mmdetection3d/mmdet3d/apis/test.py", line 52, in single_gpu_test
score_thr=show_score_thr)
TypeError: show_results() got an unexpected keyword argument 'show