leehomyc/Photo-Realistic-Super-Resoluton
leehomyc/Photo-Realistic-Super-Resoluton has 201 GitHub stars and 59 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-19 06:43 UTC. Last push 2017-02-12.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Torch Implementation of "Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network"
Developer ToolsREADME.md
OriginalPhoto-Realistic-Super-Resoluton
Torch Implementation of "Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network" [Paper]
This is a prototype implementation developed by Harry Yang.

Getting started
####Training prepare your images under a sub-folder of a root folder
t_folder=your_root_folder model_folder=your_save_folder/ th run_sr.lua
By default it resizes the images to 96x96 as ground truth and 24x24 as input, but you can specify the size using loadSize. Note current generator network only supports 4x super-resolution. In addition, the input size must be dividable by 32 (such as 96, 128, 160, etc.).
By default it resizes the images to 96x96 as ground truth and 24x24 as input, but you can specify the size using loadSize and scale.
####Loading a saved model to train
D_path=your_saved_D_model G_path=your_saved_G_model t_folder=your_root_folder model_folder=your_save_folder/ th run_resume.lua
####Testing prepare your test images under a sub-folder of a root folder
t_folder=your_root_folder model_file=your_G_model result_path=location_to_save_results th run_test.lua
Report Issues
Citation
If you find this code useful for your research, please cite:
@misc{Johnson2015,
author = {Yang, Harry},
title = {super-resolution using GAN},
year = {2016},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/leehomyc/Photo-Realistic-Super-Resoluton}},
}