Generative models uncertainty estimation