Last active
August 22, 2017 19:19
-
-
Save philippslang/c7d8f7969920d53f7092e07d2bd6f6ac to your computer and use it in GitHub Desktop.
This file contains 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
if 1: | |
model = make_rnn(num_features, num_targets, num_timesteps, num_units) | |
model.fit(features, targets, epochs=10, batch_size=24, validation_split=0.2) | |
model.save(FNAME_MODEL) | |
else: | |
model = kem.load_model(FNAME_MODEL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment