Skip to content

A web app to upload your own images into my trained srGAN models.

Notifications You must be signed in to change notification settings

BearNinja123/srGANWeb

Repository files navigation

srGAN (and company) Image Rescaler

A web app thing that I made to make it relatively easy to upload your images and try out my srGAN models for yourself. Not much to say other than the fact it uses Flask, TF 2.2 models (which apparently works on TF 2.4 now...). srGAN on a moose

Install necessary packages

Windows: pip install -r requirements.txt

Mac/Linux: pip3 install -r requirements.txt

Run the program

Windows: python app.py

Mac/Linux: python3 app.py

You can also rescale images using different models and compare their looks.

The image below uses srGAN. srGAN on a turtle

The image below uses esrGAN on the same image above. esrGAN on the same turtle

I've also added a feature which can make the srGAN model more flexibly resize images of all sizes (by disabling 32x32px resizing chunks when rescaling). You can disable this feature, but I'm not really sure why you would.

With chunking (not recommended): Chunking on a small image Chunking on an image larger than 32x32px

Without chunking (default): No chunking on a small image No chunking on an image larger than 32x32px

Currently, the website can't serve multiple users at the same time, but it's not like a lot of people are going to use this at the same time, so it doesn't really matter.

About

A web app to upload your own images into my trained srGAN models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages