removing encoding in another spot
This commit is contained in:
Родитель
67ffdc3e26
Коммит
2274d0bf92
|
@ -165,7 +165,7 @@ def calc_accuracy(test_file, output_filename_base):
|
|||
|
||||
# load predicted answers
|
||||
predicted=[]
|
||||
with open(output_filename_base + ".z", 'r', encoding='utf8') as f_in:
|
||||
with open(output_filename_base + ".z", 'r') as f_in:
|
||||
for l in f_in:
|
||||
predicted.append(np.argmax(l.strip().split(' ')))
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче