Created
April 20, 2019 05:07
-
-
Save StrikingLoo/f1b1da853ae204ff586c1e6725052b31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print('# Fit model on training data') | |
history = model.fit(x_train, | |
x_train, #we pass it the same input data as desired output | |
#If the model is taking forever to train, make this bigger | |
#If it is taking forever to load for the first epoch, make this smaller | |
batch_size=256, | |
epochs=10, | |
# We pass it validation data to | |
# monitor loss and metrics | |
# at the end of each epoch | |
validation_data=(x_valid, x_valid)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment