目录
Single-Image Motion Deblurring
paper:[2111.09881] Restormer: Efficient Transformer for High-Resolution Image Restoration (arxiv.org)
一、Installation
This repository is built in PyTorch 1.8.1 and tested on Ubuntu 16.04 environment (Python3.7, CUDA10.2, cuDNN7.6). Follow these intructions
1.配置基本环境
git clone https://github.com/swz30/Restormer.git
cd Restormer
conda create -n pytorch181 python=3.7
conda activate pytorch181
conda install pytorch=1.8 torchvision cudatoolkit=10.2 -c pytorch
pip install matplotlib scikit-learn scikit-image opencv-python yacs joblib natsort h5py tqdm
pip install einops gdown addict future lmdb numpy pyyaml requests scipy tb-nightly yapf lpips
python setup.py develop --no_cuda_ext
2.下载数据集
2.1命令行方式
To be able to download datasets automatically you would need go
and gdrive
instal