Skip to content

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

License

Notifications You must be signed in to change notification settings

akitaonrails/Real-ESRGAN

 
 

Repository files navigation

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.

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Dockerfile 1.2%
  • Shell 0.3%