From 659f72e27d567ad4e404f98be8523165fa0d0ae8 Mon Sep 17 00:00:00 2001 From: Szymon Jadczak Date: Thu, 28 Apr 2022 20:19:31 +0200 Subject: [PATCH] Zaktualizuj 'evaluation.py' --- evaluation.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/evaluation.py b/evaluation.py index 95d8216..10201e6 100644 --- a/evaluation.py +++ b/evaluation.py @@ -10,4 +10,7 @@ y_test = pd.read_csv('ytest.csv') model = tf.keras.models.load_model('./model') -model.evaluate(x_test, y_test) \ No newline at end of file +res = model.evaluate(x_test, y_test,verbose=0) + +with open('evaluation_acuraccy.txt', 'a+') as f: + f.write(str(res[1])+'\n') \ No newline at end of file