DataLoader with h5py

Hi,

Recently, I encounter some problem with data loading. That is, when I utilizing DataLoader with more than 1 workers to load HDF5 file with h5py, the retrieved data usually appears random-like. I have turn off the shuffle and use the default sampler and collate_fn. The problem may come from h5py.

I wonder if there is any solution to such problem.

Best,
Yikang

1 Like

Where is your code …?

Same problem. :cold_sweat:

See DataLoader, when num_worker >0, there is bug