From 8d2d0678c8106cbbc9d892c4444bcc7092eec9a6 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 8 Nov 2019 17:06:55 -0500 Subject: [PATCH] tf2 history keys --- examples/plot_nn_training_curves.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/plot_nn_training_curves.py b/examples/plot_nn_training_curves.py index 29230d2..5903de8 100644 --- a/examples/plot_nn_training_curves.py +++ b/examples/plot_nn_training_curves.py @@ -70,8 +70,8 @@ def crnn_model(width=100, n_vars=6, n_classes=7, conv_kernel_size=5, pipe.fit(X_train, y_train) print(DataFrame(pipe.history.history)) -ac_train = pipe.history.history['acc'] -ac_val = pipe.history.history['val_acc'] +ac_train = pipe.history.history['accuracy'] +ac_val = pipe.history.history['val_accuracy'] epoch = np.arange(len(ac_train)) + 1 ##############################################