Sign In

Real-ESRGAN Batch Upscaling using Google Colab

3

Real-ESRGAN Batch Upscaling using Google Colab

Real-ESRGAN Batch Upscaling using Google Colab

There are probably some better ways of pre-processing images out there, but this is what I usually do with my dataset preparation. If someone want to upscale images with Real-ESRGAN using Colab, this may be for you.

Google Colab link:

https://colab.research.google.com/github/minionphak/Advanced_Real_ESRGAN_Upscaling_-_Batch_Processing/blob/main/Advanced_Real_ESRGAN_Upscaling_%26_Batch_Processing.ipynb

The Colab script include some features like:

  • Upscaling image with Real-ESRGAN

  • Processing multiple folders

  • Rescaling image by side or specific resolution

  • Cropping image to specific ratio for bucket when training LoRA

  • File converting to png, jpg, jpeg

  • Zip the file

Not complicated to use. Good luck!

There are errors on some toggle options (conflicting). I'm going to check them later :D

3