Hi I trained a model in TLT yolov3. and trying to inference grayscale images with python code.So what is the preprocessing steps for Grayscale images.
Did you train a yolo_v3 model with grayscale images or RGB images?
I had Gray images and converted it to RGB for training.
Problem solved @Morganh .Actually the problem in Pillow package version. for color convertion in training I used pillow 7.2.0 and for testing i used pillow 5.4.0. So After I changed the pillow version in testing problem solved.