Closed LZY-the-boys closed 3 months ago
Thanks for your interest! I just computed the std of the latents from the VAE encoder. The code is simply scale_factor = 1 / torch.std(vae.encode(x).sample()). In my computation x is the entire training set and I store the latents to compute the standard deviation.
Hi,
Thank you for your excellent work. I am very interested in the use of
0.2325
in your VAE implementation:Could you please explain the origin of the
0.2325
value? Was it calculated from the mean and logvar of a custom VAE latent space on ImageNet? If possible, could you also provide the code for this calculation?Thank you for your assistance!