-
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
-
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
-
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
- open GIMP
- click on Filters>Real ESRGan
- click OK on the dialog
- wait
- it will create the 4x file