aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lenet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lenet.py b/lenet.py
index fa27422..2372857 100644
--- a/lenet.py
+++ b/lenet.py
@@ -116,7 +116,7 @@ def train_classifier(x_train, y_train, x_val, y_val, batch_size=128, epochs=100,
model.compile(loss='categorical_crossentropy', metrics=metrics, optimizer=optimizer)
history = model.fit(x_train, y_train, batch_size=batch_size, epochs=epochs, verbose=1, validation_data = (x_val, y_val))
- plot_history(history, metric=metrics)
+ plot_history(history, metrics)
return model
def test_classifier(model, x_test, y_true):