这是使用多分辨的革命神经网络(PyTorch) 非官方地复制了Moir'e相片修复文件
This is an unofficial reproduction of paper Moir´e Photo Restoration Using Multiresolution Convolutional Neural Networks.(PyTorch)
First of all, you need to prepare the whole dataset of this paper, which is around 100G.dataset download link : https://drive.google.com/drive/folders/109cAIZ0ffKLt34P7hOMKUO14j3gww2UC
another download link : https://huggingface.co/datasets/zxbsmk/TIP-2018
Before starting to train the model, you need to run a script to clean the training set as shown below.
All hyper-parameters follow the instructions of the paper, so you don't need to change them.W
However, you should change the path of datasets to match your local environment.
python utils.py
python train.py --dataset /data_new/zxbsmk/moire/trainData --save ./modelGet PSNR of the testing set.
python test.py| psnr distribution | \24 | | :---------------: | :--: | :---: | :---: | :---: | :---: | :---: | :---: | | training set | 72 | 2318 | 29816 | 37089 | 21195 | 15102 | 12856 | | testing set | 8 | 227 | 2951 | 3809 | 2069 | 1463 | 1324 | | total | 80 | 2545 | 32767 | 40898 | 23264 | 16565 | 14180 |
We can see that low quality image pairs whose PSNR is lower than 12 still exist in the dataset, which is against the author's declaration.
暂无开放 Issues,或尚未同步最近议题。