How to use images arrays data h5 in Databunch

I have made some progress with this using the h5py package. Depth Segmentation using U-nets but on .mat files