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

TypeError: list indices must be integers or slices, not str #35

Open
Leozyc-waseda opened this issue Jun 9, 2022 · 1 comment
Open

Comments

@Leozyc-waseda
Copy link

It seems that this repo has many bugs, such as this dbinfos, there is no 'kitti_dbinfos_val.pkl' under the kitti dataset.
So this error will be reported, has anyone encountered the same error?

  File "/home/algo-3/work/BtcDet/btcdet/datasets/multifindbestfit.py", line 38, in extract_allpnts
    all_db_infos = pickle.load(f)[type]
TypeError: list indices must be integers or slices, not str

db_info_save_path = Path(root_path) / ('kitti_dbinfos_%s.pkl' % split)

@DheerajYarlagadda
Copy link

Yes, I had came across same error message, Just remove the 'val' from the list in line 475 of BtcDet/btcdet/datasets/multifindbestfit.py

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