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

replace pytorch_lightning.metrics by torchmetrics for newer pytorch_lightning versions #5

Open
ghpu opened this issue Nov 17, 2022 · 0 comments
Assignees

Comments

@ghpu
Copy link

ghpu commented Nov 17, 2022

With pytorch_lightning 1.7 : ModuleNotFoundError: No module named 'pytorch_lightning.metrics'

Solution : change imports in python train_*.py from import pytorch_lightning.metrics.functional... into ```import torchmetrics.functional `` and install torchmetrics (pip install torchmetrics for example) .

nightvision04 referenced this issue in nightvision04/CfC Nov 27, 2022
Bug #5 Replaced pytorch-lightning references with 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

3 participants