Hi there,
I’m having issues with understanding the image matrix. So the lectures indicate that an image file is numpy array of shape (m_train, num_px, num_py, 3) where m_train = number of samples, num_px or num_py = 64 which are the equivalent of the size of image, and 3 means red, blue and green 3 colors.
So I tried to create an example of this (see below), and try to make sense of it.
I’m getting (2,2,3,2) with the example I set up. Does that mean I have 2 images, with size of 2x3, and with only 2 colors for each image in this case?
Can someone confirm this? I think this is important to get a better understanding of the matrix system.