Showing
1 changed file
with
6 additions
and
6 deletions
| ... | @@ -9,34 +9,34 @@ TensorFlow implementation of [Unsupervised Cross-Domain Image Generation.](https | ... | @@ -9,34 +9,34 @@ TensorFlow implementation of [Unsupervised Cross-Domain Image Generation.](https |
| 9 | 9 | ||
| 10 | ## Usage | 10 | ## Usage |
| 11 | 11 | ||
| 12 | -#### Clone the repository | 12 | +Clone the repository |
| 13 | ```bash | 13 | ```bash |
| 14 | git clone https://github.com/yunjey/dtn-tensorflow.git | 14 | git clone https://github.com/yunjey/dtn-tensorflow.git |
| 15 | cd dtn-tensorflow | 15 | cd dtn-tensorflow |
| 16 | ``` | 16 | ``` |
| 17 | 17 | ||
| 18 | -#### Download the dataset | 18 | +Download the dataset |
| 19 | ```bash | 19 | ```bash |
| 20 | chmod +x download.sh | 20 | chmod +x download.sh |
| 21 | ./download.sh | 21 | ./download.sh |
| 22 | ``` | 22 | ``` |
| 23 | 23 | ||
| 24 | -#### Resize MNIST dataset to 32x32 | 24 | +Resize MNIST dataset to 32x32 |
| 25 | ```bash | 25 | ```bash |
| 26 | python prepro.py | 26 | python prepro.py |
| 27 | ``` | 27 | ``` |
| 28 | 28 | ||
| 29 | -#### Pretrain the model f | 29 | +Pretrain the model f |
| 30 | ```bash | 30 | ```bash |
| 31 | python main.py --mode='pretrain' | 31 | python main.py --mode='pretrain' |
| 32 | ``` | 32 | ``` |
| 33 | 33 | ||
| 34 | -#### Train the model G and D | 34 | +Train the model G and D |
| 35 | ```bash | 35 | ```bash |
| 36 | python main.py --mode='train' | 36 | python main.py --mode='train' |
| 37 | ``` | 37 | ``` |
| 38 | 38 | ||
| 39 | -#### Transfer SVHN to MNIST | 39 | +Transfer SVHN to MNIST |
| 40 | ```bash | 40 | ```bash |
| 41 | python main.py --mode='eval' | 41 | python main.py --mode='eval' |
| 42 | ``` | 42 | ``` | ... | ... |
-
Please register or login to post a comment