Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about algoverse2 pkl and eval problem #26

Open
wengdunfang opened this issue Apr 29, 2024 · 2 comments
Open

about algoverse2 pkl and eval problem #26

wengdunfang opened this issue Apr 29, 2024 · 2 comments

Comments

@wengdunfang
Copy link

wengdunfang commented Apr 29, 2024

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
Copy link
Author

wengdunfang commented Apr 29, 2024

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
Copy link

exiawsh commented May 6, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants