Try to train grayscale image classification on imagenette dataset but something seems wrong

Note that there’s nothing that says black must be zero and white must be 255, or visa versa. Different domains make different choices here. So you have to use a color map to say what you want.

5 Likes