How to load multiple .mat files for training in Pytorch

I have 3D dataset(1000 files) in .mat format. and I wish to load for training. can anyone please suggest to me how to do this?

You could use scipy to load the mat files as shown here.

1 Like