zhangqianhui / Conditional-GAN

Tensorflow implementation for Conditional Convolutional Adversarial Networks.
MIT License
218 stars 83 forks source link

Update main.py and Randomise batch order between epochs #3

Closed infomaniac777 closed 7 years ago

infomaniac777 commented 7 years ago

Minor correction. Should be straightforward to merge.

infomaniac777 commented 7 years ago

I updated the way randomness is introduces in batch selection. The current method had a bug where it was not randomising the data set. I introduced a mechanism to randomly shuffle the dataset between epochs.