Hdf5 on raspberry pi4


#1

Hello,

I am trying to test my model on raspberry pi4 (armv7l), so whenever i am giving test command i am getting the following error

  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "/home/pi/daic_test_env/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 496, in __getitem__
    self.id.read(mspace, fspace, arr, mtype, dxpl=self._dxpl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5d.pyx", line 181, in h5py.h5d.DatasetID.read
  File "h5py/_proxy.pyx", line 158, in h5py._proxy.dset_rw
  File "h5py/_proxy.pyx", line 84, in h5py._proxy.H5PY_H5Dread
OSError: Can't read data (memory allocation failed for chunk)

could someone please help me with this?

Kind regards
Vikas


#2

I would guess that the ‘memory allocation failed’ error means that there isn’t enough memory for what you’re trying to do.


#3

Whether this memory issue is related to RAM or hard-disk memory ?
And one question anyone has tried installing h5py package on raspberry pi 4(aarch-64) ?


#4

‘Memory’ usually means RAM, not permanent storage.