InterSpeech Camera Ready Reporting
This commit is contained in:
parent
256e09a8b9
commit
b57eabb371
@ -37,7 +37,7 @@ if __name__ == '__main__':
|
||||
metric_dict[header].append(float(value))
|
||||
except ValueError:
|
||||
metric_dict[header].append(value)
|
||||
for score, func in zip(['mean', 'max', 'median', 'std'], [np.mean, np.max, np.median, np.std]):
|
||||
for score, func in zip(['max'], [np.max]): # [np.mean, np.max, np.median, np.std]):
|
||||
try:
|
||||
uar_scores[score].append(round(func(np.asarray(metric_dict['uar_score'])) * 100, 2))
|
||||
except ValueError as e:
|
||||
@ -51,7 +51,7 @@ if __name__ == '__main__':
|
||||
if not file_existed:
|
||||
writer.writeheader() # file doesn't exist yet, write a header
|
||||
try:
|
||||
for row_idx in range(len(uar_scores['mean'])):
|
||||
for row_idx in range(len(uar_scores['max'])):
|
||||
writer.writerow({key: uar_scores[key][row_idx] for key in headers})
|
||||
except IndexError:
|
||||
print('could not read: ')
|
Loading…
x
Reference in New Issue
Block a user