In Doc of DataLoader, shuffle (bool, optional): set to True to have the data reshuffled at every epoch (default: False). So, how to know the stop of one epoch, and then shuffle the training data. If I use this DataLoader with shuffle to load testing data, for example,
Now I only load part of my train set. I want to get the same part of my train set at every epoch. Is there any chance that I can set epoch concept.
My code like this:
I used this to get my dataloader