Last active
November 12, 2017 19:33
-
-
Save vmalyi/0c8b9cc7d7dd53331e14c937f2d4bebc to your computer and use it in GitHub Desktop.
Revisions
-
vmalyi revised this gist
Nov 12, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ... model.fit(X, Y, epochs=NUMBER_OF_EPOCHS, batch_size=BATCH_SIZE) ... # serialize model to JSON model_json = model.to_json() # save JSON to the disk -
vmalyi revised this gist
Nov 12, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,8 @@ ... model.fit(X, Y, epochs=NUMBER_OF_EPOCHS, batch_size=BATCH_SIZE) # serialize model to JSON model_json = model.to_json() # save JSON to the disk with open("saved_model.json", "w") as json_file: json_file.write(model_json) -
vmalyi renamed this gist
Nov 12, 2017 . 1 changed file with 3 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,6 @@ ... model.fit(X, Y, epochs=NUMBER_OF_EPOCHS, batch_size=BATCH_SIZE) model_json = model.to_json() with open("saved_model.json", "w") as json_file: json_file.write(model_json) -
vmalyi created this gist
Nov 12, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ ... model.fit(X, Y, epochs=NUMBER_OF_EPOCHS, batch_size=BATCH_SIZE) model_json = model.to_json() with open("model.json", "w") as json_file: json_file.write(model_json)