pytorch grayscale to rgb code example
Example: rgb to grayscale python
from PIL import Image
img = Image.open('image.png').convert('LA')
img.save('greyscale.png')
from PIL import Image
img = Image.open('image.png').convert('LA')
img.save('greyscale.png')