jsontoh5.py fails on converting json file

Open
#60 1 comment 0 reactions 1 assignee View on GitHub

@jreadey is already working on this.

Since Mar 6, 2025.

Assessment

This issue has not been assessed yet.

Description

Hello,
I'm converting an hdf5 file produced by keras to json which works fine.
However, upon converting back from this json file to hdf5 I am running into errors with a call within h5json/hdf5db.py, in the function toRef(....)
In Line 1745, in toRef, for item in data:
Nonetype object is not iterable.

Is there a current issue in handling hdf5 files generated by Keras?

Dominant language
Python
Stars
81
Forks
26
Avg merge
55m
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HDFGroup/hdf5-json

All issues in HDFGroup/hdf5-json

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.