VAE_anomaly_detection icon indicating copy to clipboard operation
VAE_anomaly_detection copied to clipboard

Is the implementation of reconstructed_probability in the document VAEtf1.py not correct?

Open BuleSky233 opened this issue 2 years ago • 1 comments

Your implementation of reconstructed_probability in the document VAEtf1.py will get the same result in L repetition of sample. I think here the latent parameter z should be sampled L times from the outputs of the decoder, e.g., Normal(\mu_z , \sigma_z).

BuleSky233 avatar Dec 26 '22 16:12 BuleSky233

Yes, it should draw L samples from the decoder as proposed in http://dm.snu.ac.kr/static/docs/TR/SNUDM-TR-2015-03.pdf Page 9 Algorithm 4 instead of repeating L times.

Vhunon avatar Jul 04 '23 02:07 Vhunon