yunjey
Committed by GitHub

Update README.md

Showing 1 changed file with 39 additions and 1 deletions
# Domain Transfer Network (DTN)
TensorFlow implementation of [Unsupervised Cross-Domain Image Generation.](https://arxiv.org/abs/1611.02200)
![alt text](jpg/dtn.jpg)
## Requirements
* Python 2.7
* [TensorFlow 0.12](https://github.com/tensorflow/tensorflow/tree/r0.12)
## Usage
#### Clone the repository
```bash
git clone https://github.com/yunjey/dtn-tensorflow.git
cd dtn-tensorflow
```
#### Download the dataset
```bash
chmod +x download.sh
./download.sh
```
#### Resize MNIST dataset to 32x32
```bash
python prepro.py
```
#### Pretrain the model
```bash
python main.py --mode='pretrain'
```
#### Train the model
```bash
python main.py --mode='train'
```
#### Transfer SVHN to MNIST
```bash
python main.py --mode='eval'
```
## Results
......