百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

MoirePhotoRestoration-MCNN

> DevOps
开源

这是使用多分辨的革命神经网络(PyTorch) 非官方地复制了Moir'e相片修复文件

100 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

这是使用多分辨的革命神经网络(PyTorch) 非官方地复制了Moir'e相片修复文件

MoirePhotoRestoration-MCNN

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

Requirements

  • torch >= 1.6.0
  • torchvision >= 0.7.0
  • pillow >= 7.2.0
  • GPU >= 3G

Training

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.

bash
python utils.py
python train.py --dataset /data_new/zxbsmk/moire/trainData --save ./model

Testing

Get PSNR of the testing set.

bash
python test.py

Dataset

| 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· 1 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonmoire-patternpytorch-implementationunofficial

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类DevOps
定价开源

> 相关工具

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理