megvii-research / Far3D

[AAAI2024] Far3D: Expanding the Horizon for Surround-view 3D Object Detection
Other
153 stars 11 forks source link

about algoverse2 pkl and eval problem #26

Closed wengdunfang closed 2 weeks ago

wengdunfang commented 7 months ago

I have used your code (python tools/create_infos_av2/create_av2_infos.py) to generate av2_val_infos_mini.pkl. However, I noticed that several cameras are empty, such as 'ring_front_left': None, 'ring_front_center': None, 'ring_rear_right': None in 'scene_id': '02678d04-cc9f-3148-9f95-1ba66347dff9'. Could you please provide me with a genuine pkl file? Thank you.

wengdunfang commented 7 months ago

If I use the pkl generated by me for inference, there is an error:

bash tools/dist_test.sh projects/configs/far3d.py /mnt/far3d/iter_82548.pth 4 --eval bbox

File "/mnt/Far3D/projects/mmdet3d_plugin/datasets/argoverse2-dataset_t. py", line 250, in __ getitem__
Return self. prepare_test_data (idx)
File "/mnt/Far3D/projects/mmdet3d_plugin/datasets/argoverse2_dataset_t. py", line 132, in preparetest_data
Self. pre pipeline (input-dict)
File "/mnt/Far3D/mmdetection3d/mmdet3d/datasets/custom3d. py", line 206, in pre pipeline
Results ['img_fields']=[]
TypeError: 'NoneType' object does not support item assignment

This is because some cameras are empty. https://github.com/megvii-research/Far3D/blob/5efb9d73a246c39fac79b3cf8c20a8e059611c3f/projects/mmdet3d_plugin/datasets/argoverse2_dataset_t.py#L193C1-L194C1

exiawsh commented 6 months ago

@wengdunfang Hi, sorry for late response. You can refer to this issue https://github.com/megvii-research/Far3D/issues/7#issuecomment-1862329081 enlarge the interval https://github.com/argoverse/av2-api/blob/main/src/av2/utils/synchronization_database.py#L100 image

Amireux52 commented 5 months ago

@wengdunfang Hi, sorry for late response. You can refer to this issue #7 (comment) enlarge the interval https://github.com/argoverse/av2-api/blob/main/src/av2/utils/synchronization_database.py#L100 image

老师,请问应该怎样修改呢,我没有修改成功,烦请指导,感激,盼复