lucidrains / imagen-pytorch

Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how ta activate shuffle for DataLoader?

TheZaind opened this issue · comments

commented

Yeah, the question is in the title. How can I shuffle my Trainingdata when I am training the model?
Normal, It's something like :
"'shuffle': True"
or
"data_loader = DataLoader(dataset, batch_size=batch_size, shuffle=True)" but i dnt got a DataLoader in this way.
But I don't know where and how to add this.
Anyone an idea?
Thanks 👍