monyone / SISR

Single Image Super Resolution (SISR) implementation by PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single Image Super Resolution (SISR)

Requirement

  • python3
  • pytorch
  • torchvision

Models

Usage

Train

Geneator

./train.py --generator [ONE_OF_ABOVE_MODELS] --epoch ${epochs} --scale ${upscale_factor}

GAN

./train.py --generator [ONE_OF_ABOVE_MODELS] --discriminator [ONE_OF_ABOVE_DISCRIMINATIOR] --epoch ${epochs} --scale ${upscale_factor} --distort [Real-ESRGAN|BSRGAN|JPEG]

Testing

./main.py --model [ONE_OF_ABOVE_MODELS] --image ${image_path} --state ${state_path} --scale ${upscale_factor} --test --distort [Real-ESRGAN|BSRGAN|JPEG]

Super Resolution

./main.py --model [ONE_OF_ABOVE_MODELS] --image ${image_path} --state ${state_path} --scale ${upscale_factor}

About

Single Image Super Resolution (SISR) implementation by PyTorch

License:MIT License


Languages

Language:Python 100.0%