Alan-xw / RealSR

[Unofficial implementation] Toward Real-World Single Image Super-Resolution: A New Benchmark and A New Model (ICCV 2019)
81 stars 11 forks source link

RealSR

This is an unofficial implementation of RealSR(Pytorch version).

We implement the model training and testing code based on EDSR. The model and training cofiguration can be found in config.py

training

For training, you can use the command below to train the model from beginning.

python main.py --reset

testing

For testing,you can use the command below to test the model on benchmarks.

python main.py --test-only True

demo

For demo,you can generate super-resolved images by your trained model.

python main.py --demo True