Giter Club home page Giter Club logo

ancientpainitng2naturalimage's Introduction

AncientPainitng2NaturalImage

Pytorch implementation for the paper [Ancient Painting to Natural Image: A New Solution for Painting Processing] .

image

Getting Started

Installation

  • Install PyTorch and dependencies from http://pytorch.org
  • Install Torch vision from the source.
git clone https://github.com/pytorch/vision
cd vision
python setup.py install
pip install visdom
pip install dominate
  • Clone this repo:
git clone https://github.com/qiaott/AncientPainitng2NaturalImage.git
cd AncientPainitng2NaturalImage
  • Download our datasets (e.g. CBP, CFP) from here .

Train/Test

  • Train a model:
./do_train.sh
  • Test a model:
./do_test.sh

You can play with your own dataset by changing the dataroot.

##Citation If you use this code/datasets for your research, please cite our papers.

@inproceedings{qiao2019ancient,
  title={Ancient Painting to Natural Image: A New Solution for Painting Processing},
  author={Qiao, Tingting and Zhang, Weijing and Zhang, Miao and Ma, Zixuan and Xu, Duanqing},
  booktitle={2019 IEEE Winter Conference on Applications of Computer Vision (WACV)},
  pages={521--530},
  year={2019},
  organization={IEEE}
}

Acknowledgments

Code is inspired by pytorch-CycleGAN-and-pix2pix.

ancientpainitng2naturalimage's People

Contributors

qiaott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ancientpainitng2naturalimage's Issues

Question about the size of the ouputs

Hi, thank you very much for the amazing work! I have a question about the size of the outputs. I've noticed that the size of the output becomes 288 x 288 regardless of the original input size. Is it fixed or can I change it so that the size of the output doesn't change?

Looking forward to hearing from you!

Question about typeerror

for (src, dst) in zip(vgglua.parameters[o], vgg.parameters): TypeError:NoneType' object is notsubscriptable

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.