I am trying to replicate a paper where they have physically increased the data set size as stated: The strategy  is  data  augmentation,  we  augment  the  ischaemia  class  by  using  8  data augmentation techniques, i.e flip horizontal and vertical, rotate-180 degree, add Gaussian noise, crop, shear, scale and adjust contrast  by  gamma  2.0,  yielded  a  total  2,043  patches  after  augmentation.
Currently, I am using the transforms.Compose which augments images on the fly without physically changing the number of images. How can I actually increase the number of images as mentioned in the paper?