Skip to content

Commit

Permalink
commenting out auroc
Browse files Browse the repository at this point in the history
  • Loading branch information
scap3yvt authored Apr 18, 2024
1 parent 4d751fd commit 80e1aaf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions GANDLF/metrics/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ def overall_stats(prediction: torch.Tensor, target: torch.Tensor, params: dict)
num_classes=params["model"]["num_classes"],
average=average_type_key,
),
"aucroc": tm.AUROC(
task=task,
num_classes=params["model"]["num_classes"],
average=average_type_key if average_type_key != "micro" else "macro",
),
# "aucroc": tm.AUROC(
# task=task,
# num_classes=params["model"]["num_classes"],
# average=average_type_key if average_type_key != "micro" else "macro",
# ),
}
for metric_name, calculator in calculators.items():
if metric_name == "aucroc":
Expand Down

0 comments on commit 80e1aaf

Please sign in to comment.