SXHSine / pixel-recursive-super-resolution

Tensorflow implementation of pixel-recursive-super-resolution(Google Brain paper: https://arxiv.org/abs/1702.00783)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pixel Recursive Super Resolution

TensorFlow implementation of Pixel Recursive Super Resolution. This implementation contains:

model

Requirements

Usage

First, download data celebA

$ mkdir data
$ cd data
$ ln -s $celebA_path celebA

Then, create image_list file:

$ python tools/create_img_lists.py --dataset=data/celebA --outfile=data/train.txt

To train model on gpu:

$ python tools/train.py
(or $ python tools/train.py --device_id=0)

To train model on cpu: $ python tools/train.py --use_gpu=False

Samples

Training after 30000 iteration.

sample.png

Training details

cross entropy loss:

curve.png

Author

nilboy / @nilboy

About

Tensorflow implementation of pixel-recursive-super-resolution(Google Brain paper: https://arxiv.org/abs/1702.00783)

License:MIT License


Languages

Language:Python 100.0%