Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.5 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.5 KB

SuperResolution-Chainer

Super Resolution by Chainer(v3) and python3.
I used a DenseNet-based Generator and SNGAN by Chainer to train this model.
This repository just provides the generator model, however, I have used GAN to train it indeed.
If you have any question, please feel free to contact me.

Usage

compare

python compare_image --input_file/-i  filename

It will downsize the given image to the low resolution image with a factor=2, then upsize it by bicubic and SR-method respectively to generate super resolution image with a factor=2 and compare the PSNR/SSIM between the SR image and ground truth.

generate

python generate_2x --input_file/-i  filename

It will generate a 2x SR image of the given image by SR-method.

Result

compare

ground truth

image

low resolution

image

bicubic

image

super resolution

image

generate 2x

image