Please correct me if I am wrong.

So is this a Channel error of image, because my image is non-standard RGB format? and I need to repeat the input channel 3 times.

If yes ,then at which point i should perform this step.Should I do this when I extract image patch and before saving it as .pt files ?
As I am slightly confused now