I am using
torchvision.transforms.RandomAffine to do some data augmentation. My inputs are RGB images. However, I don’t really understand one argument,
fillcolor, the color for the area outside the transform in the output image. It seems
fillcolor must be an integer, but what if I want to fill the area with some RGB value? Is there any way to convert an RGB (a tuple of length 3) to an int?
Thank you in advance!