LPCG
LPCG copied to clipboard
TypeError: list indices mustbe integersor.slices,nottuple
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
请问是否有人遇到过类似的问题,怀疑是遇到了点云为空的情况,是否可以尝试利用判断语句直接去掉空点云呢?
抱歉,回复较晚了。 是的,如果存在这样的情况,你可以用if判断跳过这一帧。 但这种错误不应该出现的,之后我有时间时会核实并修复这个问题,谢谢你的反馈!
收到 谢谢学长
| | aqr1961 | | @.*** | ---- Replied Message ---- | From | @.> | | Date | 4/20/2023 20:24 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [SPengLiang/LPCG] TypeError: list indices mustbe integersor.slices,nottuple (Issue #6) |
抱歉,回复较晚了。 是的,如果存在这样的情况,你可以用if判断跳过这一帧。 但这种错误不应该出现的,之后我有时间时会核实并修复这个问题,谢谢你的反馈!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>