Skip to content
New issue

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

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

Already on GitHub? # to your account

TypeError: list indices mustbe integersor.slices,nottuple #6

Open
aqr1961 opened this issue Apr 16, 2023 · 2 comments
Open

TypeError: list indices mustbe integersor.slices,nottuple #6

aqr1961 opened this issue Apr 16, 2023 · 2 comments

Comments

@aqr1961
Copy link

aqr1961 commented Apr 16, 2023

File "/media/10T/weakm3d/dataloader/kitti dataloader.py", line' 152, in getitem
cls info = np.ones like(RoI boxpoints['bbox2d'][:,0])*2
TypeError: list indices mustbe integersor.slices,nottuple

请问是否有人遇到过类似的问题,怀疑是遇到了点云为空的情况,是否可以尝试利用判断语句直接去掉空点云呢?

@SPengLiang
Copy link
Owner

抱歉,回复较晚了。
是的,如果存在这样的情况,你可以用if判断跳过这一帧。 但这种错误不应该出现的,之后我有时间时会核实并修复这个问题,谢谢你的反馈!

@aqr1961
Copy link
Author

aqr1961 commented Apr 21, 2023 via email

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

No branches or pull requests

2 participants