Does PyTorch have a sampler that continually gives me a batch of random samples, without reaching a StopIteration error when it’s done? I want the ability to sample infinitely. If not, how could I implement one?
Thanks!