I am new to PyTorch and currently looking to perform data augmentation on the FashionMNIST data, through flip and crop transformations. After that, would like to add these transformed data tensors to the training set to get an expanded dataset. The transforms I am using are as follows:
aug_transform = transforms.Compose([transforms.RandomVerticalFlip(p = 0.5),
transforms.RandomResizedCrop((28, 28),(0.9, 1.0)),
Are there any ways that you would suggest adding the augmented tensors to the training set? Also, is it possible to add the transformation on the existing training data on the fly (dynamically) while training the model?