xinntao / realesrgan

Practical Image Restoration Algorithms for General/Anime Images

  • Public
  • 7M runs
  • T4
  • GitHub
  • Paper
  • License

Input

img
*file

Input

string

RealESRGAN version. Please see [Readme] below for more descriptions

Default: "General - v3"

number

Rescaling factor

Default: 2

boolean

Enhance faces with GFPGAN. Note that it does not work for anime images/vidoes

Default: false

integer

Tile size. Default is 0, that is no tile. When encountering the out-of-GPU-memory issue, please specify it, e.g., 400 or 200

Default: 0

Output

output
Generated in

Run time and cost

This model costs approximately $0.0022 to run on Replicate, or 454 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia T4 GPU hardware. Predictions typically complete within 10 seconds.

Readme

Real-ESRGAN

Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.

If Real-ESRGAN is helpful, please help to ⭐ the Github Repo and recommend it to your friends 😊

Model Descriptions

Option Weight Name Description
▶General - RealESRGANplus: <RealESRGAN_x4plus.pth> A large model for general images
▶General - v3: <realesr-general-x4v3.pth> A tiny model for general images
▶Anime - anime6B: <RealESRGAN_x4plus_anime_6B.pth> A large model for anime images/illustrations
▶AnimeVideo - v3: <realesr-animevideov3.pth> A tiny model for anime images, especially for anime videos

download GitHub Stars arXiv

📧Contact

If you have any question, please email xintao.wang@outlook.com or xintaowang@tencent.com.