Hi all,
I am new to Pytorch and not sure if it is possible to create a DataLoader that can read and repeat the same image over and over. I have an example implementation in Tensorflow:
N = 1000
img = tf.keras.preprocessing.image.load_img(path)
tds = tf.data.Dataset.from_tensor_slices(img).repeat(N)
Thanks in advance.