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

When use test.pkl:AssertionError: Error: You are trying to evaluate on the test set but you do not have the annotations! #273

Open
kingofstu opened this issue Aug 1, 2024 · 1 comment

Comments

@kingofstu
Copy link

Hi,when I use nuscenes_infos_temporal_test.pkl to run test.py, it occured:
AssertionError: Error: You are trying to evaluate on the test set but you do not have the annotations!
How can I solve this error?

@laston2
Copy link

laston2 commented Oct 18, 2024

I had this issue and I think I've solved it. Inside your bevformer_base.py file, the test section must point to the validation set (i.e. nuscenes_infos_temporal_val.pkl) and NOT the test set. This is because when it's being evaluated, it needs the annotations which are only available inside the validation set because the test set it meant to be completely unseen. This means that this test set will have no annotations, and is lacking in other data.

Please also note that if your BEVFormer/data/nuscenes/samples and BEVFormer/data/nuscenes/sweeps only contain the data from the test set, you need to download all 10 blobs and merge all of their ./samples and ./sweeps folders into one.

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