I have Image data and I have custom augmentation classes for transforms.
transform_custom = [Rescale(256), RandomCrop(224), Resize(224)]
These classes are passed to
transform and its output to
transformed_dataset = Classification(df, transform=transforms.Compose(transform_custom)) dataloader = DataLoader(transformed_dataset, shuffle=True, num_workers=0, batch_size=4).
Does all Images undergo .all mentioned
resize transformations or Images and transformations are randomly selected to undergo transformations?
If all the Images undergo all transformations, How can I make selection of Images and selection of transformation random?
As per my observation, all images undergo all transformations from left to right! but the pytorch library undergoes transformation randomly. how can i implement this feature in my script