helloai0 commited on
Commit
c8b10d3
1 Parent(s): 24fe397

Update metric.py

Browse files
Files changed (1) hide show
  1. metric.py +1 -1
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)