Hello
I’m trying to do a hue transformation and the fast.ai librairie doesn’t offer it so I looked at the PyTorch one and I can’t make it work, I do :
def _hue_tr(x):
return transforms.ColorJitter(brightness=0, contrast=0, saturation=0, hue=(0.1, 0.2))
hue_tr = TfmAffine(_hue_tr)
But I always get a UserWarning: There seems to be something wrong with your dataset, can’t access any element when using hue_tr() it in tfms.
Can someone figure out my mistake ?
Thanks !