DeepVO-pytorch icon indicating copy to clipboard operation
DeepVO-pytorch copied to clipboard

Execution error

Open Jinbo-Zuo opened this issue 2 years ago • 6 comments

Thanks a lot for your work, I'm learning this implementation. But the following error occurs during execution, I don't know why, can you help me? thanks

ValueError: Caught ValueError in DataLoader worker process 0. groundtruth_rotation = raw_groundtruth[1][0].reshape((3, 3)).T # opposite rotation of the first frame ValueError: cannot reshape array of size 0 into shape (3,3)

Jinbo-Zuo avatar Mar 25 '22 11:03 Jinbo-Zuo

@Jinbo-Zuo @ChiWeiHsiao

ValueError: Caught ValueError in DataLoader worker process 0. groundtruth_rotation = raw_groundtruth[1][0].reshape((3, 3)).T # opposite rotation of the first frame ValueError: cannot reshape array of size 0 into shape (3,3)

Did you manage to find a solution for this? I am facing the exact same issue. For me the error happens while reshaping the raw_groundtruth

File "/data_helper.py", line 201, in getitem groundtruth_rotation = raw_groundtruth[1][0].reshape((3, 3)).T # opposite rotation of the first frame ValueError: cannot reshape array of size 0 into shape (3,3)

z-mtmr97 avatar Aug 06 '22 18:08 z-mtmr97

@itz-Anonym Did you manage to find a solution for this? I am facing the exact same issue. For me the error happens while reshaping the raw_groundtruth.

hiXiaoYU avatar Aug 11 '22 11:08 hiXiaoYU

@hiXiaoYU

@itz-Anonym Did you manage to find a solution for this? I am facing the exact same issue. For me the error happens while reshaping the raw_groundtruth.

If you are still stuck, delete the two .pickle files in 'datainfo' folder. If it still doesn't run, go to params.py and set resume=False For some reason, the datainfo provided by the author causes errors in loading.

z-mtmr97 avatar Aug 14 '22 01:08 z-mtmr97

I did what you said but I still get the error image @itz-Anonym

sahinemreaslan avatar Nov 24 '22 19:11 sahinemreaslan

I did what you said but I still get the error image @itz-Anonym Have you solved it?I met this problem,too.I guess it's a mismatch between the images and the ground truth,cause I print the paramater"train_df",there are some poses being empty,but I don't know how to solve it.

00ohnim avatar Oct 03 '23 03:10 00ohnim

I am also experiencing the same problem, how should I solve it?

wangwang324 avatar Mar 18 '24 13:03 wangwang324