GFPGAN icon indicating copy to clipboard operation
GFPGAN copied to clipboard

Build (on ubuntu 21.10)

Open gabrielklein opened this issue 2 years ago • 0 comments

If you have some difficulties to build on ubuntu 21.10

sudo pip3 install typing-extensions sudo pip3 install basicsr sudo pip3 install -r requirements.txt sudo python3.9 setup.py develop sudo pip3 install realesrgan wget https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth -P experiments/pretrained_models sudo python3 inference_gfpgan.py --upscale 2 --test_path inputs/whole_imgs --save_root results

sudo chown -R YOU:YOU '.' sudo chown -R YOU:YOU '/usr/local/lib/python3.9/dist-packages/realesrgan/weights/RealESRGAN_x2plus.pth'

python3 inference_gfpgan.py --upscale 2 --test_path inputs/whole_imgs --save_root results

gabrielklein avatar Dec 21 '21 14:12 gabrielklein