This is the PyTorch implementation of paper: FSR (AAAI 2023 Oral).
- Python >= 3.6 (Recommend to use Anaconda)
- PyTorch >= 1.5.0
- NVIDIA GPU + CUDA
- Python packages:
pip install numpy opencv-python lmdb
- [option] Python packages:
pip install tensorboardX
, for visualizing curves.
- Our codes version based on BasicSR.
- All datasets drawn from the existing literature are publicly available. (DIV8K, TEST2K, TEST4K, TEST8K).
cd codes
python train.py --whichModule fsrcnn
# whichModule, choices=['fsrcnn','carn','srresnet','rcan']
cd codes
python test.py --whichModule fsrcnn
# whichModule, choices=['fsrcnn','carn','srresnet','rcan']
- If you have any questions, please contact ljm22@mails.tsinghua.edu.cn.