-
Notifications
You must be signed in to change notification settings - Fork 6
Bugfix/h5 strings #25
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
Conversation
…e for h5_to_nested_dict and nested_dict_to_h5
yoshikisd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think this looks good. Pytests are running fine on my machine. There's a few minor typos on the code description (e.g., the name of the return variable is different from what's on the description) that should be corrected before merging to avoid confusion later on.
I have also included a few optional suggestions to make the code more succinct.
yoshikisd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Pytests are still working on my machine. Let's merge this.
.h5 files saved by "nested_dict_to_h5" would throw an error when "h5_to_nested_dict" was used to read them... it was coming from something to do with how strings were saved and loaded.
I pushed a fix to the code, and I also updated the documentation and added test coverage for these functions and two related functions for nested dicts, nested_dict_to_numpy and nested_dict_to_torch.