Closed kashifshah closed 8 years ago
Hi Kashif,
It looks like vlen support for a wide range of data types was not implemented until h5py v2.3.0.
Could you try updating the version of h5py on your machine to a newer version? We have only tested v2.5.0 in our experiments.
Thanks Desmond, It was indeed because of h5py version, it works fine with 2.5.0
The following command generates an error in h5py special data type. python util/jsonmat2h5.py --path iaprtc12_eng
Loaded JSON file with 19625 entries Loaded visual features file with 19625 entries Traceback (most recent call last): File "util/jsonmat2h5.py", line 57, in
dtype=h5py.special_dtype(vlen=unicode))
File "h5t.pyx", line 1437, in h5py.h5t.special_dtype (h5py/h5t.c:11775)
NotImplementedError: Only byte-string vlens are currently supported
My system has following versions of dependencies installed: python 2.7 and 3 numpy '1.10.1' scipy 0.13.2 theano 0.7.0 h5py 2.0.1
and operating system is: Linux 3.8.0-42-generic #63~precise1-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
Any idea where it is coming from?
Thanks, Kashif