Skip to content
Snippets Groups Projects
Commit 20b361d6 authored by Barbora Koudelková's avatar Barbora Koudelková
Browse files

Saved Predicted Labels

parent bb62305b
Branches main
No related tags found
No related merge requests found
......@@ -161,8 +161,10 @@ def train():
val_acc.extend(history.history['val_accuracy'])
predicted_labels = checkpoint.predicted_labels
#Kolik cisel v datasetu
digit_counts = np.bincount(y_test)
# Print out the accuracy values
# WRITE OUTPUT
with open("output.txt", 'w') as file:
file.write("Train Accuracy:\n")
file.write('\n'.join(str(acc) for acc in train_acc))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment