HDFGroup / hdf5-json

Specification and tools for representing HDF5 in JSON
https://hdf5-json.readthedocs.io
Other
72 stars 25 forks source link

jsontoh5.py fails on converting json file #60

Open 13zhu opened 7 years ago

13zhu commented 7 years ago

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?

jreadey commented 7 years ago

Objref to JSON isn't working yet. You'll note that the objref_dset.json test is commented out in https://github.com/HDFGroup/hdf5-json/blob/develop/test/integ/jsontoh5_test.py.

I've forgotten what the actual problem was - I'll take a look at it.