Created
May 15, 2018 17:41
-
-
Save syaffers/c9d4b5f1d19cfb16d5e35e7510d1b5b7 to your computer and use it in GitHub Desktop.
Get the version of Keras from a trained h5 file
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
import h5py | |
f = h5py.File('Model.h5', 'r') | |
print(f.attrs.get('keras_version')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment