Created
May 3, 2021 06:10
-
-
Save Kakarot-2000/7dc830fe9089807c258c711c0e028097 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
fer_json = model1.to_json() | |
with open("fer.json", "w") as json_file: | |
json_file.write(fer_json) | |
model1.save_weights("fer.h5") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment