Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 881 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 881 Bytes

Dockerfile for The Real-ESRGAN

For the original README, refer to the original repo.

I didn't find a good Dockerfile, so I got one from adryanfrois and updated it. For example, the old version used the CUDA 10 image, but my RTX 3090 requires CUDA 11.

You can build it with:

$ ./docker_build.sh

To upscale pictures from ~/Pictures/inputs run with:

$ ./docker_run.sh \
python3 inference_realesrgan.py \
-i /app/inputs -o /app/results \
-n RealESRGAN_x4plus_anime_6B

To upscale videos from the same folder run with:

$ ./docker_run.sh \
python3 inference_realesrgan_video.py \
-i /app/inputs/anime.mp4 -o /app/results/anime_upscaled.mp4 \

Don't forget to edit docker_run.sh to map your input and result folders.