Solved by ptrblck in post #3 
              
              
                Your input images has a single channel, while three are expected. 
This might be the case when you are dealing with grayscale images, so either change the number of input channels in the first layer to 1 or repeat the channel dimensions 3 times.