Update metric.py
Browse files
metric.py
CHANGED
@@ -67,7 +67,7 @@ def compute(params):
|
|
67 |
for row, output in outputs.iterrows():
|
68 |
print('outputs type', type(outputs), 'targets type', type(outputs))
|
69 |
|
70 |
-
answer = output['pred']
|
71 |
label = str(targets.iloc[row]['pred'])
|
72 |
|
73 |
print('answer:', answer)
|
|
|
67 |
for row, output in outputs.iterrows():
|
68 |
print('outputs type', type(outputs), 'targets type', type(outputs))
|
69 |
|
70 |
+
answer = str(output['pred'])
|
71 |
label = str(targets.iloc[row]['pred'])
|
72 |
|
73 |
print('answer:', answer)
|