We run this script under TensorFlow 2.0 and the TensorLayer 2.0+. For TensorLayer 1.4 version, please check release.
🚀🚀🚀🚀🚀🚀 THIS PROJECT WILL BE CLOSED AND MOVED TO THIS FOLDER IN A MONTH.
🚀🚀🚀🚀🚀🚀 THIS PROJECT WILL BE CLOSED AND MOVED TO THIS FOLDER IN A MONTH.
🚀🚀🚀🚀🚀🚀 THIS PROJECT WILL BE CLOSED AND MOVED TO THIS FOLDER IN A MONTH.
TensorFlow Implementation of "Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network"
<img src="https://github.com/tensorlayer/SRGAN/raw/1.4.1/img/model.jpeg" width="80%" height="10%"/>
<img src="https://github.com/tensorlayer/SRGAN/raw/1.4.1/img/SRGAN_Result2.png" width="80%" height="50%"/>
<img src="https://github.com/tensorlayer/SRGAN/raw/1.4.1/img/SRGAN_Result3.png" width="80%" height="50%"/>
config.py (like number of epochs) are seleted basic on that dataset, if you change a larger dataset you can reduce the number of epochs. train_hr_imgs = tl.files.load_flickr25k_dataset(tag=None) in main.py. config.TRAIN.hr_img_path in config.py.config.py, if you download DIV2K - bicubic downscaling x4 competition dataset, you don't need to change it. config.TRAIN.img_path = "your_image_folder/"
python train.py
python train.py --mode=evaluate
If you find this project useful, we would be grateful if you cite the TensorLayer paper:
@article{tensorlayer2017,
author = {Dong, Hao and Supratak, Akara and Mai, Luo and Liu, Fangde and Oehmichen, Axel and Yu, Simiao and Guo, Yike},
journal = {ACM Multimedia},
title = {{TensorLayer: A Versatile Library for Efficient Deep Learning Development}},
url = {http://tensorlayer.org},
year = {2017}
}
$ claude mcp add SRGAN \
-- python -m otcore.mcp_server <graph>