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

Fix pytorch_lightning dependencies #2

Open
allemangD opened this issue Oct 25, 2023 · 0 comments
Open

Fix pytorch_lightning dependencies #2

allemangD opened this issue Oct 25, 2023 · 0 comments

Comments

@allemangD
Copy link
Contributor

(Quoted from Slicer/ExtensionsIndex#1973 (comment))

pytorch_lightning fails to import even after it's been installed, which prevents loading the PlaneCNN module.

cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' (site-packages/torchmetrics/utilities/data.py)

I suggest revisiting the pinned versions in your slicer.util.pip_install calls, and possibly add a pinned installation for torchmetrics.

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

1 participant