openai / pixel-cnn

Code for the paper "PixelCNN++: A PixelCNN Implementation with Discretized Logistic Mixture Likelihood and Other Modifications"
https://arxiv.org/abs/1701.05517
Other
1.92k stars 436 forks source link

samples #44

Closed yuffon closed 5 years ago

yuffon commented 5 years ago

After training, the network parameters are fixed. So each time the generation starts from an all zero tensor, the output is the same, so the network generates the same pixels all the time. I checked the function sample_from_model(), there is no randomness. So my question is how to make the network generate different pictures while starting from the same all zero tensor?