Skip to content

Instantly share code, notes, and snippets.

@Geek-a-Byte
Last active February 12, 2023 17:48
Show Gist options
  • Save Geek-a-Byte/770d4fcf6c31705dd06ee59d5b563ca6 to your computer and use it in GitHub Desktop.
Save Geek-a-Byte/770d4fcf6c31705dd06ee59d5b563ca6 to your computer and use it in GitHub Desktop.
!pip install nexusformat # one time run
import nexusformat.nexus as nx
f = nx.nxload('/content/sample.h5')
print(f.tree)
## or
global_model = load_model('/content/sample.h5')
global_model.summary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment