hello patrick,
For Example this is the code i am using generating using numpy
import numpy as np
import matplotlib.pyplot as plt

Create a blank 300x300 red image
image = np.zeros((200, 200, 3), np.uint8)

Fill image with red color(set each pixel to red)
image[:] = (255, 0, 0)
It is a red color
Now i want to use this color information in torch ,How can i do that ?