diff options
| -rw-r--r-- | lenet.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -101,7 +101,7 @@ def plot_history(history, metric = None):      plt.ylabel('Loss')      plt.xlabel('Epoch') -def train_classifier(x_train, y_train, x_val, y_val, batch_size=128, epochs=100, metrics=['categorical_accuracy'], optimizer = None): +def train_classifier(x_train, y_train, x_val, y_val, batch_size=128, epochs=100, metrics=[categorical_accuracy], optimizer = None):    shape = (32, 32, 1)    # Pad data to 32x32 (MNIST is 28x28) | 
