I save images in numpy array of size 5000,96,96 into .mat file using scipy.io.savemat().
When I want to load back these images into Python I use scipy.io.loadmat(), however, this time they are put into dictionary.
How can I neatly put them from Dictionary to NumPy array?
I am using the scipy.io.loadmat to load matlab file and want to put it in NumPy array. The images are of dims = (5000,96,96)
scipy.io.savemat("images.mat")
z = scipy.io.loadmat("images.mat")
images in NumPy array