You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been try to modify
"torchmetrics.Precision(num_classes=2, average=None).to(device)" to "torchmetrics.Precision(task = "binary",num_classes=2, average=None).to(device)"
but it doesn't work.
The text was updated successfully, but these errors were encountered:
Hello,
the problem seems to be that you haven't installed the specified virtual
environment,
in which torchmetrics 0.9.3 is installed.
The current version of torchmetrics has different input arguments.
Am Di., 21. Nov. 2023 um 09:43 Uhr schrieb Jieun Kim <
***@***.***>:
hello,
I'm trying to test the model based on the ReadMe file you posted, but I'm
getting the following error.
"precision": torchmetrics.Precision(num_classes=2,
average=None).to(device),
TypeError: *new*() missing 1 required positional argument: 'task'
I've been try to modify
"torchmetrics.Precision(num_classes=2, average=None).to(device)" to
"torchmetrics.Precision(task = "binary",num_classes=2,
average=None).to(device)"
but it doesn't work.
—
Reply to this email directly, view it on GitHub
<#20>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7Q3AOPX2URHHYLXJV6QVDYFRSUHAVCNFSM6AAAAAA7UFQ5U2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYDGNZUHAYTANQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
hello,
I'm trying to test the model based on the ReadMe file you posted, but I'm getting the following error.
"precision": torchmetrics.Precision(num_classes=2, average=None).to(device),
TypeError: new() missing 1 required positional argument: 'task'
I've been try to modify
"torchmetrics.Precision(num_classes=2, average=None).to(device)" to "torchmetrics.Precision(task = "binary",num_classes=2, average=None).to(device)"
but it doesn't work.
The text was updated successfully, but these errors were encountered: