Skip to content

Commit 1044559

Browse files
committed
updated
1 parent 3835e7f commit 1044559

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

kerasTUT/5-classifier_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
print('Training ------------')
4848
# Another way to train the model
49-
model.fit(X_train, y_train, epoch=2, batch_size=32)
49+
model.fit(X_train, y_train, epochs=2, batch_size=32)
5050

5151
print('\nTesting ------------')
5252
# Evaluate the model with the metrics we defined earlier

kerasTUT/6-CNN_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
print('Training ------------')
8282
# Another way to train the model
83-
model.fit(X_train, y_train, epoch=1, batch_size=32,)
83+
model.fit(X_train, y_train, epochs=1, batch_size=32,)
8484

8585
print('\nTesting ------------')
8686
# Evaluate the model with the metrics we defined earlier

kerasTUT/9-Autoencoder_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
# training
6464
autoencoder.fit(x_train, x_train,
65-
nb_epoch=20,
65+
epochs=20,
6666
batch_size=256,
6767
shuffle=True)
6868

0 commit comments

Comments
 (0)