Closed kvenkman closed 9 months ago
In this example we follow a standard augmentation strategy applying perturbations only in the input image. Labels are image unique ids, which do not get modified by color jitter augmentation
Oh, so the labels are one hot encoded vectors?
If you notice, the dataset is CIFAR10
I see that now - thank you for the clarification!
I was looking at the data augmentation example notebook, and was hoping to clarify a potential bug. In the
training_step
method:the input tensor
x
gets transformed tox_aug
, yet the corresponding transform does not get applied to the labelsy
before loss is calculated (loss = F.cross_entropy(logits, y)
). Is this an error that needs fixing, or am I missing something?