You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I meet an issues:
Traceback (most recent call last):
File "finetune.py", line 205, in
main()
File "finetune.py", line 179, in main
test_loss = test(imgL,imgR, disp_L)
File "finetune.py", line 140, in test
true_disp[index[0][:], index[1][:], index[2][:]]-pred_disp[index[0][:], index[1][:], index[2][:]])
IndexError: index 109 is out of bounds for dimension 1 with size 1
I don't know the reason. Could you help me?
The text was updated successfully, but these errors were encountered:
---- 回复的原邮件 ----
| 发件人 | Jia-Ren ***@***.***> |
| 日期 | 2022年05月11日 20:07 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.******@***.***> |
| 主题 | Re: [JiaRenChang/RealtimeStereo] IndexError: index 109 is out of bounds for dimension 1 with size 1 (Issue #14) |
Hi, @zheng-xiao,
You can check the size of both images (ture_disp and pred_disp).
It should be in 3 dimension.
Jia-Ren
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
Hi,
I meet an issues:
Traceback (most recent call last):
File "finetune.py", line 205, in
main()
File "finetune.py", line 179, in main
test_loss = test(imgL,imgR, disp_L)
File "finetune.py", line 140, in test
true_disp[index[0][:], index[1][:], index[2][:]]-pred_disp[index[0][:], index[1][:], index[2][:]])
IndexError: index 109 is out of bounds for dimension 1 with size 1
I don't know the reason. Could you help me?
The text was updated successfully, but these errors were encountered: