-
Notifications
You must be signed in to change notification settings - Fork 677
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
[Bug]: torchmetrics.functional.auc deprecated #750
Comments
How much effort would it be? Another suggestion: as this will be corrected, maybe could we rename the classes in
To something that does not shadow torchmetrics? |
I made these edits myself when running the github locally. It's just changing the name of the import, from Not really any work at all. But yes, as mentioned, the version change also breaks the CLI and I didn't try to fix that. I used the tools/train.py and didn't need to make any other edits to get it to work besides this. Didn't think about downgrading my torchmetrics version lol |
@jpcbertoldo like @Anurag-Shah mentioned just changing the import does not work. There are a few more places where we have to make changes. I haven't investigated it thoroughly but for now we have fixed the torchmetrics version to 0.10.3 in this PR #754. |
I was referring to this in the "how much effort".
Ok, 👍 ! Let's wait and see then :)
Please 🙏 ! |
Closing as this will be addressed by #1879 |
Describe the bug
Needs to be replaced with torchmetrics.utilities.compute.auc
Affects following files:
Dataset
N/A
Model
N/A
Steps to reproduce the behavior
Just try to run any dataset on a fresh install (in a fresh conda environment).
OS information
OS information:
Expected behavior
There should not be a runtime error when importing the auc function
Screenshots
N/A
Pip/GitHub
GitHub
What version/branch did you use?
No response
Configuration YAML
N/A
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: