I have a gray scale images (ultrasound) and i want to train them using CNN and autoencoders but i have issue with number of channels which is 3 by default , when i use the 3 channels an error reported , how can i use only 2 channels.
ValueError: Dimensions must be equal, but are 2 and 3 for 'loss_mse/sub' (op: 'Sub') with input shapes: [?,128,128,2], [?,128,128,3].