GitXplorerGitXplorer
k

ESRGAN-tensorflow

public
34 stars
5 forks
8 issues

Commits

List of commits on branch master.
Unverified
b980f5e856e663be4115a6883c69d8c9b7e66b8e

update: add LGTM tags

kkozistr committed 6 years ago
Unverified
2a218095a79eefff41e9b1a8537d8e6305201d39

update: remove some codes, not used currently

kkozistr committed 6 years ago
Unverified
58fe2d0b61461060d3330cb716742a0210640326

update: files

kkozistr committed 6 years ago
Unverified
9e392d366ffb2c9bcc644115fddb30332b60e37f

feat: impl ESRGAN model w/ some customs - v1.0

kkozistr committed 6 years ago
Unverified
b99fb7956b210705e257d6a129176242184981f8

fix: mistake variable usage

kkozistr committed 6 years ago
Unverified
55f4d1296311ecd304672f8be46477bac43f751a

update: some parameters

kkozistr committed 6 years ago

README

The README file for this repository.

ESRGAN in tensorflow

Enhanced Super Resolution Generative Adversarial Network in tensorflow

This repo is based on pytorch impl original here

Work In Process :)

Total alerts Language grade: Python

Requirements

  • python 2.x / 3.x
  • tensorflow-gpu 1.x
  • opencv
  • glob
  • tqdm

Repo-Tree

│
├── output  (generated images)
│     ├── ...
│     └── xxx.png
├── tb_logs (tensorboard records)
│     ├── [unique id]
│     │     ├── *.ckpt
│     │     ├── *.tsv
│     │     ├── *.meta
│     │     └── ...
│     └── [unique id]
├── requirements.txt  (requirements)
├── readme.md         (explaination)
├── losses.py         (useful losses)
├── metrics.py        (useful metrics)
├── model.py          (ESRGAN model)
├── main.py           (trainer / inferener)
├── config.py         (global configurations)
├── tfutils.py        (useful TF utils)
├── utils.py          (image processing utils)
└── dataloader.py     (DataSet loader)

Usage

  1. Clone this github repo.
git clone https://github.com/kozistr/ESRGAN-tensorflow
cd ESRGAN-tensorflow
  1. install required packages (if needed)
# with pip
python -m pip install -r requirements.txt

# with conda
conda install --yes --file requirements.txt
  1. run scripts!

For training,

python3 train.py

For evaluation,

python3 evaluate.py

For inference,

python3 inference.py --src test-lr.png --dst test-hr.png

Results

Citation

@InProceedings{wang2018esrgan,
    author = {Wang, Xintao and Yu, Ke and Wu, Shixiang and Gu, Jinjin and Liu, Yihao and Dong, Chao and Qiao, Yu and Loy, Chen Change},
    title = {ESRGAN: Enhanced super-resolution generative adversarial networks},
    booktitle = {The European Conference on Computer Vision Workshops (ECCVW)},
    month = {September},
    year = {2018}
}

Author

HyeongChan kim / kozistr