Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserving structure when re-saving Keras HDF5 files #27

Open
gustavla opened this issue Oct 13, 2017 · 0 comments
Open

Preserving structure when re-saving Keras HDF5 files #27

gustavla opened this issue Oct 13, 2017 · 0 comments
Labels

Comments

@gustavla
Copy link
Member

In some cases, opening an HDF5 file, editing it, and then re-saving it, can cause detrimental changes to the format. Something that was an attribute might have turned into a group, or vice versa. It would also be nice if it preserved the compression choices of the original file.

I have noticed problems with this for instance with a Keras model saved to HDF5.

This is not a trivial problem to solve and requires storing meta data that may give clues to how it should be saved. It can also be addressed by allowing edits without a full load and re-save, which relates to #22.

@gustavla gustavla added the bug label Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant