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

Execution error #46

Open
Jinbo-Zuo opened this issue Mar 25, 2022 · 6 comments
Open

Execution error #46

Jinbo-Zuo opened this issue Mar 25, 2022 · 6 comments

Comments

@Jinbo-Zuo
Copy link

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)

@z-mtmr97
Copy link

z-mtmr97 commented Aug 6, 2022

@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)

@hiXiaoYU
Copy link

@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.

@z-mtmr97
Copy link

@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.

@sahinemreaslan
Copy link

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

@00ohnim
Copy link

00ohnim commented Oct 3, 2023

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.

@wangwang324
Copy link

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

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

6 participants