README.MD

May 31, 2025 ยท View on GitHub

Training dataset

We provide the download link of many widely-used datasets. Please download them from:

DatasetLink
DIV2K(1-800 images for training)Download
Flickr2KDownload
OSTDownload
FFHQDownload
LSDIRDownload
DIV8KDownload
SA1BDownload

In our paper, we only use DIV2K(1-800 images) to train GSASR.

In our enhanced version, we use DIV2K(1-800 images) and DF2K(DIV2K(1-800 images) + FLICKR2K) to train GSASR.

In our ultra performance version, we use SA1B to train GSASR.

Testing dataset

We provide the download link of many widely-used datasets. Please download them from:

DatasetLink
DIV2K(801-900 images for testing)Download
Set5Download
Set14Download
Urban100Download
BSDS100Download
Manga109Download
General100Download
LSDIR(Validation 250)Download

Then, please use the following code to generate the low-resolution images through bicubic operator. Please note that, we use the bicubic operator from BasicSR, which is the same bicubic operator as that in Matlab, while being excuted in Python. The codes are as follows,

cd GSASR/TrainTestGSASR/scripts/data_preparation
python generate_bicubic_img_use_python_matlab.py --gt [path to GT image folder] --scale_list [indicate the scaling factor] --save_path [path to your save path] 

We also provide our well-process version of thoes testing benchmarks, you could download them through the following link,

DatasetLink
Testing BenchmarksGoogle Drive

Benchmarks for testing the computational cost

We randomly crop 720 * 720 size images from DIV2K100 to serve as GT, and use bicubic downsampling to obtain the corresponding low-resolution images. Note that, we use the bicubic operator from BasicSR, which is the same bicubic operator as that in Matlab, while being excuted in Python. The codes are as follows,

cd GSASR/TrainTestGSASR/scripts/data_preparation
python test_time_img_generate.py --gt [path to GT image folder] --scale_list [indicate the scaling factor] --save_path [path to your save path] --gt_size [set the size of GT images]

Please note that, we randomly crop images each time. Therefore, if you excute this code, your cropped results will be different from us. If you want to directly use our data, please download them in the following,

DatasetDownload
DIV2K_GT720Google Drive