Hello I have recently moved from MATLAB to python for deep learning task. I have Matlab saved images in .mat format.
I found this code which has folder structure for labelling the data similar to mine. So I decide to adopt that code and modify it to read .mat files.
Each .mat file has the size 256x256x11 (11 is the number of channels.). I also found that I can load the .mat files using Scipy.io.loadmat(). But I am not sure where I have to add that and what other things I need to change.
https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/5_DataManagement/build_an_image_dataset.py?fbclid=IwAR3SQfEkXimVUlUsExcVxuoIsCSd2hhVn0WmhgJibnyojujOKWgMQX_ZZE8 69