The transformations are set in the Dataset and are applied on the fly for each sample.
If you are using random transformations, each sample will be randomly transformed in each epoch.
You don’t have to recreate the DataLoader in each epoch.