twairball / keras_lstm_vae

Keras implementation of LSTM Variational Autoencoder
MIT License
226 stars 81 forks source link

wrong for z_log_sigma #4

Open hzauccg opened 6 years ago

hzauccg commented 6 years ago

https://github.com/twairball/keras_lstm_vae/blob/94774c9838a37ea533585df21aa1f7dcd36476b7/lstm_vae/vae.py#L46

should be return z_mean + K.exp(z_log_sigma/) * epsilon

HongminWu commented 5 years ago

Dear owner, Does the previous comment about line 46 in file vae.py should be modified?

HongminWu commented 5 years ago

should be return z_mean + K.exp(z_log_sigma/2.0) * epsilon