A PyTorch implementation of Restormer based on CVPR 2022 paper Restormer: Efficient Transformer for High-Resolution Image Restoration.
pip install -r requirements.txt
Format:
|-- data
|-- SR
|-- train
|-- input
sr-1.jpg
...
`-- output
sr-1.jpg
...
`-- test
|-- DN
same as SR
python train.py --data_name SR --seed 1
python inference.py --data_name SR --model_file result/SR.pth
python train.py --data_name SR --checkpoint_file result/checkpoint.pth