Hello,
when I try to transform my image using ColorJitter I get the following error:
TypeError: ‘>’ not supported between instances of ‘tuple’ and ‘int’.
My transforms operation looks something like this:
transformations=transforms.Compose([
transforms.ColorJitter(brightness=0.2,saturation=(0.8,1.62),contrast=(1,1.3),hue=(-0.02,0.02)),
transforms.RandomAffine(degrees=180,translate=(0.05,0.05),scale=(0.9,1.1),shear=25),
transforms.CenterCrop((64,64)),
transforms.ToTensor(),
transforms.Normalize([0.485,0.456,0.406],[0.229,0.224,0.225])
])
I am confused because I thought a tuple as an input was allowed.
Hopefully someone can help me