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

TypeError: 'unsupported operand type(s) for @: '_core_pybinds.sophus.SE3d' and '_core_pybinds.sophus.SE3d' #20

Closed
graciegumm opened this issue Sep 22, 2023 · 5 comments

Comments

@graciegumm
Copy link

graciegumm commented Sep 22, 2023

Hi, I am facing a TypeError when running 'mps_quickstart_tutorial.ipynb'.

I get the following error when running the line "cam_frustums[i] = build_cam_frustum(pose.transform_world_device)": unsupported operand type(s) for @: '_core_pybinds.sophus.SE3d' and '_core_pybinds.sophus.SE3d

Thank you!

@SeaOtocinclus
Copy link
Contributor

We are changing our Sophus API, please use last stable version (you can checkout at tag 1.1.0)
See here #19

@SeaOtocinclus
Copy link
Contributor

@graciegumm Thank you for your feedback.
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.

@graciegumm
Copy link
Author

graciegumm commented Sep 28, 2023

@SeaOtocinclus Thank you for letting me know. However, I am using v1.2.0 now and I am still getting the same error in this issue (#20) and the error in issue #19.

@chpeng-fb
Copy link

@graciegumm Thank you for reporting this issue. The updated github mps_quickstart_tutorial from github and the latest pypi package should work together. If you are still have the same issue, it might because the there is a mismatch of python module and the github version. This could be due to the jupyter notebook not coming from the virtual environment (when you have an older version installed in non-virtual environment, jupyter defaults to that env instead of the current venv). You can try to run the notebook in the specific virtual environment

source ~/your_virtual_env/bin/activate

cd projectaria_tools/core/examples
python3 -m jupyter notebook mps_quickstart_tutorial.ipynb

@graciegumm
Copy link
Author

@chpeng-fb The issue was on my end and is resolved now, thank you!

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