Skip to content

renatoviolin/super-resolution-image-esrgan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generating high-res images using ESRGAN-PyTorch

This repository show the code to upscale pictures by 4x using ESRGAN.

Given a low resolution picture, the goal is to upscale by 4x and compare with the Bicubic Algorithm.

As you can see, the results are very good. Try yourself!

Demo

Demo

Click here to view in 1080p

Endpoint available

Endpoint Description
http://localhost:8000/ Front-end to perform style transfer.

Install

  1. Clone this repository
git clone https://github.com/renatoviolin/super-resolution-image-esrgan.git
cd super-resolution-image-esrgan
  1. Download the pre-trained model
wget "https://www.dropbox.com/s/58x64ex9m047gdy/model.pth?dl=0" -O esrgan/model.pth
  1. Install dependencies
pip install -r requirements.txt
  1. Start web-application
cd web-app
uvicorn app:app --host 0.0.0.0 --port 8000

Running on Google Colab

You can running on colab using ngrok. Open in Colab

References

ESRGAN (Enhanced SRGAN): https://github.com/xinntao/ESRGAN

BibTeX

@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}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published