Skip to content

Commit f288389

Browse files
authored
tutorial updated
1 parent 92875f0 commit f288389

File tree

1 file changed

+2
-2
lines changed
  • tutorials/03-advanced/variational_auto_encoder

1 file changed

+2
-2
lines changed

tutorials/03-advanced/variational_auto_encoder/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Variational Auto-Encoder
1+
# Variational Auto-Encoder
22
[Variational Auto-Encoder(VAE)](https://arxiv.org/abs/1312.6114) is one of the generative model. From a neural network perspective, the only difference between the VAE and the Auto-Encoder(AE) is that the latent vector z in VAE is stochastically sampled. This solves the problem that the AE learns identity mapping and can not have meaningful representations in latent space. In fact, the VAE uses [reparameterization trick](https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/03-advanced/variational_auto_encoder/main.py#L40-L44) to enable back propagation without sampling z directly from the mean and variance.
33

44
#### VAE loss
@@ -21,4 +21,4 @@ $ python main.py
2121
## Results
2222
Real image | Reconstruced image
2323
:-------------------------:|:-------------------------:
24-
![alt text](png/real.png) | ![alt text](png/reconst.png)
24+
![alt text](png/real.png) | ![alt text](png/reconst.png)

0 commit comments

Comments
 (0)