SamsungLabs / fcaf3d

[ECCV2022] FCAF3D: Fully Convolutional Anchor-Free 3D Object Detection
MIT License
231 stars 37 forks source link

I encounter the error KeyError: 'gt_bboxes_3d' when i try to use visualize_results.py #21

Closed snow-flakes1215 closed 2 years ago

snow-flakes1215 commented 2 years ago

The command i used: python tools/misc/visualize_results.py configs/fcaf3d/fcaf3d_sunrgbd-3d-10class.py --result data/sunrgbd/sunrgbd_infos_val.pkl --show-dir workdir

The result i get: Traceback (most recent call last): File "tools/misc/visualize_results.py", line 48, in main() File "tools/misc/visualize_results.py", line 40, in main dataset.show(results, args.show_dir) # use default pipeline File "/home/intern/Downloads/Samsunglabs/fcaf3d/mmdet3d/datasets/sunrgbd_dataset.py", line 207, in show pred_bboxes = result['boxes_3d'] KeyError: 'boxes_3d'

filaPro commented 2 years ago

Hi @acasium ,

We modified some mmdetection3d codes not carefully enough, so some scripts may not work. Can you please try visualization as pointed in the relevant section of our readme?

snow-flakes1215 commented 2 years ago

Hi @filaPro Thanks for your time. I will do it.