Thank you very much!
Using binary colormap, the image came out in greyscale.
However, the problem is that the image does not seem to be processed as greyscale in train function.
How can I convert the image properly in greyscale when I load data from dataset??
Transformation code is shown in the first post.