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
iftorch.is_floating_point(output) andthresholdisNone:
raiseValueError(
f"Output should be one of the integer types if ``threshold`` is not None, got {output.dtype}."
)
in metrics/functional.py:121
Shouldn't it be "when threshold is None"?
iftorch.is_floating_point(output) andthresholdisNone:
raiseValueError(
f"Output should be one of the integer types if ``threshold`` is None, got {output.dtype}."
)
The text was updated successfully, but these errors were encountered:
Hi! I think there's a typo:
in metrics/functional.py:121
Shouldn't it be "when threshold is None"?
The text was updated successfully, but these errors were encountered: