mit-han-lab / bevfusion

[ICRA'23] BEVFusion: Multi-Task Multi-Sensor Fusion with Unified Bird's-Eye View Representation
https://bevfusion.mit.edu
Apache License 2.0
2.37k stars 428 forks source link

Key Error: 'ann_info' when evaluating on Nuscenes test set #580

Closed vtghsr closed 7 months ago

vtghsr commented 11 months ago

I know the test set of Nuscenes does not have annotation, but how do I solve this problem? image

alexzhuuuu commented 10 months ago

I know the test set of Nuscenes does not have annotation, but how do I solve this problem? image change the codes in NuScenesDataset get_data_info function: if not self.test_mode:
annos = self.get_ann_info(index)
data['ann_info'] = annos

return data

Maybe it works.

esh64 commented 9 months ago

Same problem, followed the #233 but got this same error. Does anybody know how to solve this?