soumith / ganhacks

starter from "How to Train a GAN?" at NIPS2016
11.43k stars 1.66k forks source link

Regarding sampling image in batches #51

Open miqbal23 opened 5 years ago

miqbal23 commented 5 years ago

I have question regarding sampling image in batches for both training/testing

Is it better for it to be randomly sampled or just simple slicing (eg. dataset[:batch_size-1])?