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
ValueError: Expected quat
to have shape (4,) or (N x 4), got (2,).
#13
Comments
Would you mind sharing the scene you used as input? Did you run it as Would you mind sharing your scene and I could take a closer look? |
I understood the word "scene" as "dataset". Is it right? I wonder if I did something wrong in the process. Thank you. |
Ah, good point. Those are from an old version of the app. I forgot about those. I'll update those to some more recent ones. Thing is, I changed the data format slightly since I recorded those. |
@daekyounglee updated the readme with a more recent scan. Let me know if that fixes your problem. |
Thanks for your quick update. |
Hi, I had a problem when I ran the code "python stray_visualize.py --point-clouds".
When I run the code with example datasets "ZB2", I got an error:
Traceback (most recent call last):
File "/home/user/Desktop/new1/sv5/stray_visualize.py", line 206, in
main()
File "/home/user/Desktop/new1/sv5/stray_visualize.py", line 190, in main
data = read_data(flags)
File "/home/user/Desktop/new1/sv5/stray_visualize.py", line 53, in read_data
T_WC[:3, :3] = Rotation.from_quat(quaternion).as_matrix()
File "rotation.pyx", line 624, in scipy.spatial.transform.rotation.Rotation.from_quat
File "rotation.pyx", line 513, in scipy.spatial.transform.rotation.Rotation.init
ValueError: Expected
quat
to have shape (4,) or (N x 4), got (2,).I have no idea why this error occurred.
Thank you for reading my issues, hope you reply.
The text was updated successfully, but these errors were encountered: