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

AttributeError: '_core_pybinds.sophus.SE3d' object has no attribute 'to_matrix' #19

Closed
sguttikon opened this issue Sep 14, 2023 · 3 comments

Comments

@sguttikon
Copy link

Hello, I am facing no attribute 'to_matrix' when running example 'AriaDigitalTwinDatasetTools/examples/adt_quickstart_tutorial.ipynb'

@AlbertoJaenal
Copy link

Hi, @sguttikon!
Indeed, that attribute does not exist. You should access to the transform using .matrix() instead of .to_matrix().
Hope it works

@SeaOtocinclus
Copy link
Contributor

SeaOtocinclus commented Sep 14, 2023

This is known issue, we are updating our Sophus pybind for our coming release (v1.2.0)
Temporary solution:

  • Revert to the previous version of the file (similar to the solution proposed by @AlbertoJaenal
  • or you can use the projectaria_tools==1.2.0rc1 (the version that the current notebook map to)
  • or compile projectaria_tools bindings yourself

Sorry for the inconvenience.

@SeaOtocinclus
Copy link
Contributor

SeaOtocinclus commented Sep 28, 2023

@sguttikon We have now released v1.2.0 -> https://github.com/facebookresearch/projectaria_tools/releases/tag/1.2.0
Python notebooks and pip install projectaria-tools are now matching!

Closing for now, feel free to re-open if you encounter any issue.

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

3 participants