This commit is contained in:
laoluzi
2016-08-26 23:12:55 +08:00
parent 599cae8f4b
commit 8a46974032
+9 -10
View File
@@ -6,12 +6,12 @@ This trains two adversarial deep learning models on real images, in order to pro
The generator model tries to produce images that look real and get a high score from the discriminator.␍
The discriminator model tries to tell apart between real images and artificial images from the generator.␍
Usage␍
-----␍
␍---␍
## Usage␍
**Training:**
`python dcgan.py --mode train --batch_size <batch_size>`
python dcgan.py --mode train --path ~/images --batch_size 128␍
**Image generation:**
@@ -20,22 +20,21 @@ Usage
`python dcgan.py --mode generate --batch_size <batch_size> --nice` : top 5% images according to discriminator␍
python dcgan.py --mode generate --batch_size 128␍
---
## Result␍
**generated images :** **
![generated_image.png](.\assets\generated_image.png)␍
![generated_image.png](./assets/generated_image.png)␍
![nice_generated_image.png](.\assets\nice_generated_image.png)␍
![nice_generated_image.png](./assets/nice_generated_image.png)␍
**train process :**
![training_process.gif](.\assets\training_process.gif)␍
![training_process.gif](./assets/training_process.gif)␍
---␍
---␍