GithubHelp home page GithubHelp logo

ryanlin0122 / pytorch-mrgan-master Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jerryleolfl/pytorch-mrgan-master

0.0 0.0 0.0 115.08 MB

Code of the moire removal method "Unsupervised Moire Patterns Removal for Recaptured Screen Images"

Python 100.00%

pytorch-mrgan-master's Introduction

pytorch-MRGAN-master

Code of the moire removal method "Unsupervised Moire Pattern Removal for Recaptured Screen Images"

Results

Framework

Prerequisites

  • Linux or macOS
  • Python 3
  • CPU or NVIDIA GPU + CUDA CuDNN

Getting Started

Installation

  • Clone this repo:
git clone https://github.com/JerryLeolfl/pytorch-MRGAN-master.git
cd pytorch-MRGAN-master

train/test

  • Get the whole dataset(key:8wm4).
  • To view training results and loss plots, run python -m visdom.server and click the URL http://localhost:8097.
  • Train a model:
python train.py --dataroot ./path/to/trainset --name moire_cyclegan --model cycle_gan

To see more intermediate results, check out ./checkpoints/moire_cyclegan/web/index.html.

  • Test the model:
python test.py --dataroot ./path/to/testset --name moire_cyclegan --model cycle_gan
  • The test results will be saved to a html file here: ./results/moire_cyclegan/latest_test/index.html.

Citation

If you use this code for your research, please cite our papers.

@article{YUE2021,
title = {Unsupervised Moiré Pattern Removal for Recaptured Screen Images},
journal = {Neurocomputing},
year = {2021},
author = {Huanjing Yue and Yijia Cheng and Fanglong Liu and Jingyu Yang}
}

Acknowledgments

Our code is inspired by pytorch-CycleGAN-and-pix2pix.

pytorch-mrgan-master's People

Contributors

jerryleolfl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.