chaiyujin / glow-pytorch

pytorch implementation of openai paper "Glow: Generative Flow with Invertible 1×1 Convolutions"
MIT License
505 stars 79 forks source link

Sampling Fails when moving to CIFAR10 #14

Closed XingangPan closed 5 years ago

XingangPan commented 5 years ago

Thanks for your pytorch version of Glow. When I am running on CIFAR10 with your code, I find that the reconstruction is generally well, but the model fails to produce reasonable sampling results. Reconstruction: Screenshot from 2019-04-20 17:47:05 Sampling: Screenshot from 2019-04-20 17:44:23 Do you have any idea how to fix this issue? Thanks.

chaiyujin commented 5 years ago

@XingangPan Have you ever tried lower temperature (sigma) for sampling?

XingangPan commented 5 years ago

@chaiyujin Thanks for your suggestion, that might be a reason. Anyway, I am moving to https://github.com/pclucas14/pytorch-glow, which works for CIFAR10.

chaiyujin commented 5 years ago

@XingangPan That's great. If you dig some reasons deeper, please tell me. Thanks.