I have memmap array contains images like this where each image is an array of size (1,784) :
np.memmap('/home/usr/ds', dtype='float32', mode='r', shape=(1300, 784))
I want to know how can I do Image mean subtraction to normalize all images.
I have memmap array contains images like this where each image is an array of size (1,784) :
np.memmap('/home/usr/ds', dtype='float32', mode='r', shape=(1300, 784))
I want to know how can I do Image mean subtraction to normalize all images.