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

mise import error #8

Closed
skore11 opened this issue May 10, 2022 · 7 comments
Closed

mise import error #8

skore11 opened this issue May 10, 2022 · 7 comments

Comments

@skore11
Copy link

skore11 commented May 10, 2022

Hello,
I am trying to compile the project but I am running into an error for the meshing.py runtime compilation:
ImportError: cannot import name 'mise' from 'lib.libmise' (unknown location)
This might be a cython error but I have it installed and also the mise.pyx is in the libmise folder.
Pls let me know if this is an isolated issue or if its reproducible.
regards
SK

@xuchen-ethz
Copy link
Owner

Hi @skore11, have you run python setup.py install ?

@skore11
Copy link
Author

skore11 commented May 10, 2022

yes that has been done after recreating the conda env and running the demo.py I get this import error:
ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' (/home/skore11/anaconda3/envs/snarf/lib/python3.7/site-packages/torchmetrics/utilities/data.py)

@skore11
Copy link
Author

skore11 commented May 10, 2022

looks like get_num_classes has been removed for that version of torchmetrics, dont see it in data.py

@xuchen-ethz
Copy link
Owner

I just checked my conda environment - it's using torchmetrics==0.3.2. Is it the same for you? Otherwise, can you try installing torchmetrics==0.3.2?

@skore11
Copy link
Author

skore11 commented May 12, 2022

i see, I have 0.8.2, ill reinstall and let you know......

@skore11
Copy link
Author

skore11 commented May 12, 2022

all rightey got it working thanks for the support! great work btw :)

@xuchen-ethz
Copy link
Owner

great :) 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

2 participants