In programming assignment of C2W3, shape of image is 64x64x3. What does each number represent?
height x width x num_channels
Right. That’s the standard representation of an RGB image. For each pixel, there are three color values (“channels”): Red, Green and Blue. Later in the courses in ConvNets, you will also see some PNG files which have images with 4 channels: RGBA. If the input images are grayscale, then you’ll have only one color value per pixel.
1 Like