Skip to content

vishnudaspk/Image-Upscaler-ESRGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Image Upscaling using ESRGAN

This project is a web application for upscaling images using the ESRGAN (Enhanced Super-Resolution Generative Adversarial Networks) model. ESRGAN is a powerful model for image super-resolution, enabling high-quality upscaling of images.

ESRGAN Example

Features

  • High-quality image upscaling using ESRGAN.
  • Supports both GPU (for faster processing) and CPU (if GPU is not available).

Dependencies

To run this project, you will need to install the following dependencies:

  • CUDA (for GPU acceleration)
  • PyTorch
  • glob2
  • OpenCV

Installation

  1. Install CUDA: Follow the instructions on the NVIDIA website to install CUDA.

  2. Install PyTorch: You can install PyTorch with CUDA support by following the instructions on the PyTorch website.

  3. Install Python packages:

    pip install glob2 opencv-python
    

Note

Before running the application, ensure the ESRGAN model file (RRDB_ESRGAN_x4.pth) is downloaded from the provided Google Drive link and placed in the models folder.

Download the ESRGAN model file from Google Drive.

This is an intensive program that benefits significantly from GPU acceleration. If a GPU is not available, the application will use the CPU for processing, which will be slower.

Acknowledgements

This project incorporates code and models from the ESRGAN project by Xintao Wang, licensed under the Apache License 2.0.

License

This project is licensed under the Apache License 2.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published