Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1.03 KB

README.md

File metadata and controls

43 lines (33 loc) · 1.03 KB

Real-ESRGAN GIMP plugin

Installation

  1. Clone repo into your GIMP plugin folder (We need GIMP 2.99.* or greater)

    # cd into GIMP folder
    git clone https://github.com/xinntao/Real-ESRGAN.git
    cd Real-ESRGAN
  2. Install dependent packages

    cd Real-ESRGAN
    flatpak run --command=bash org.gimp.GIMP//beta
    python -m ensurepip
    python -m pip install --upgrade pip
    
    python -m pip install basicsr
    python -m pip install facexlib
    python -m pip install gfpgan
    python -m pip install -r requirements.txt
  3. Download pretrained models

    cd Real-ESRGAN
    # reality
    wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P experiments/pretrained_models
    # anime
    wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth -P experiments/pretrained_models

Usage

  • open GIMP
  • click on Filters>Real ESRGan
  • click OK on the dialog
  • wait
  • it will create the 4x file