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

module 'minisam' has no attribute 'DiagonalLoss' #8

Open
Shubham-2302 opened this issue Sep 14, 2022 · 1 comment
Open

module 'minisam' has no attribute 'DiagonalLoss' #8

Shubham-2302 opened this issue Sep 14, 2022 · 1 comment

Comments

@Shubham-2302
Copy link

Shubham-2302 commented Sep 14, 2022

I am using PyICP github repo. I built the Sophus from this commit (commit a0fe89a323e20c42d3cecb590937eb7a06b8343a) Reference.
I am using Ubuntu 22 and used virtual environment (venv with python version 3.7.14) to build the PyICP repo, minisam and Sophus repo.

Finally when I run the command python3 main_icp_slam.py it runs in this error.

DiagonalLoss_no_attribute

I am not sure is it caused by Sophus, Eigen, Venv or minisam.

Let me know if anymore information is needed.

Thanks, for any and all the help.

@ZahraArj
Copy link

It is probably because you have multiple versions of python on your system and you have installed minisam on another python version. When you run cmake (for installing minisam) look at the version it shows for the python executable and also check your root python version (or environment that you are using).

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

2 participants