lyft / nuscenes-devkit

Devkit for the public 2019 Lyft Level 5 AV Dataset (fork of https://github.com/nutonomy/nuscenes-devkit)
Other
365 stars 103 forks source link

KeyError: 'score' in kaggle2nuscenes.py #61

Closed mikeedi closed 4 years ago

mikeedi commented 4 years ago
Traceback (most recent call last):
  File "kaggle2nuscenes.py", line 97, in <module>
    main()
  File "kaggle2nuscenes.py", line 84, in main
    joined_df["score"] = joined_df["score"].astype(float)
  File "/usr/local/lib/python3.6/dist-packages/pandas/core/frame.py", line 2980, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/usr/local/lib/python3.6/dist-packages/pandas/core/indexes/base.py", line 2899, in get_loc
    return self._engine.get_loc(self._maybe_cast_indexer(key))
  File "pandas/_libs/index.pyx", line 107, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 131, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 1607, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 1614, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'score'

Got this error when tried convert ground truth type