Skip to content

Commit b8c076f

Browse files
committed
Fix bug in metric wrapper
1 parent 69eef60 commit b8c076f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CollaborativeCoding/load_metric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def resetmetric(self):
107107
y_pred = th.rand((5, class_size))
108108

109109
metricwrapper = MetricWrapper(
110-
metric,
110+
*metrics,
111111
num_classes=class_size,
112112
macro_averaging=True if class_size % 2 == 0 else False,
113113
)

0 commit comments

Comments
 (0)