From d05220ca8e6f42aad0c276b9710a5a7489b8ac4f Mon Sep 17 00:00:00 2001 From: Winy Song <40143136+Ynjxsjmh@users.noreply.github.com> Date: Mon, 24 May 2021 15:19:21 +0800 Subject: [PATCH] fix typo --- Chapter 1/mnist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter 1/mnist.py b/Chapter 1/mnist.py index 7c85c72..75fe42d 100644 --- a/Chapter 1/mnist.py +++ b/Chapter 1/mnist.py @@ -46,12 +46,12 @@ loss='sparse_categorical_crossentropy', metrics=['accuracy']) -#training the moodel +#training the model model.fit(X_train, Y_train, batch_size=BATCH_SIZE, epochs=EPOCHS, verbose=VERBOSE, validation_split=VALIDATION_SPLIT) -#evalute the model +#evaluate the model test_loss, test_acc = model.evaluate(X_test, Y_test) print('Test accuracy:', test_acc)