The official implementation for the paper. You can access the article here: Springer Link: 10.1007/s13042-025-02796-6
- Python 3.8
- PyTorch 1.8.0
- NVIDIA GPU + CUDA
# Clone the github repo and go to the default directory 'SwinGSR'.
git clone https://github.com/chentaoqian/SwinGSR.git
conda create -n SwinGSR python=3.8
conda activate SwinGSR
pip install -r requirements.txt
python setup.py develop- Run the following scripts. The training configuration is in
options/train/.python basicsr/train.py -opt options/Train/SwinGSR/train_SwinGSR_x2.yml python basicsr/train.py --opt options/train/SwinGSR/train_SwinGSR_x4.yml
- The training experiment is in
experiments/.
- Run the following scripts. The testing configuration is in
options/test/.python basicsr/train.py -opt options/Test/my_test_SwinGSR_x2.yml python basicsr/train.py -opt options/Test/my_test_SwinGSR_x4.yml
- The output is in
results/.
This code is built on SwinIR.