Giter Club home page Giter Club logo

deep-image-analogy-pytorch's Introduction

Deep-Image-Analogy

Unofficial,PyTorch version of Deep Image Analogy.https://arxiv.org/abs/1705.01088. This project focuses on documentation of the project , and simplifying the structure. A blog post on it is coming soon.

Some Outputs (The two images in the middle are generated by the Algorithm)

Some other interesting (one way) outputs

This Project uses python3.6 and Cuda

To Install Dependencies:

be in the root directory and run pip install -r requirements.txt

To See Step by Step working of Project :

Run the Deep Image Analogy.ipynb file in the notebooks folder (using jupyter)

To run project:

cd into src , and run python Deep-Img-Analogy.py INPUT_IMG_A INPUT_IMG_BB OUTPUT_IMG

Note

This project uses Adam as optimizer instead of LBFGS. LBFGS was giving really poor results.

Project Organization

├── data
│   ├── outputs <-- folder to store outputs
│   └── raw <-- folder to store inputs
├── LICENSE.md
├── notebooks
│   ├── Deep Image Analogy.ipynb Full Pipeline in a step by step manner
│   ├── PatchMatch-Demo.ipynb Raw Patchmatch demo
│   └── WLS.ipynb Weighted Least Squares Implementation Demo (currently not being used by this project)
├── README.md 
├── requirements.txt <-- Project requirements. 
└── src
    ├── Deep-Img-Analogy.py <-- End to end executable with command line interface.
    ├── models
    │   └── VGG19.py <-- modified VGG19 with support for deconvolution, and other things. 
    ├── PatchMatch
    │   └── PatchMatchOrig.py <-- CPU version of PatchMatch. GPU version may come in the future.
    ├── Utils.py <-- Helper Utilities
    └── WLS.py <-- Weighted Least Squares.

Project based on the cookiecutter data science project template. #cookiecutterdatascience

deep-image-analogy-pytorch's People

Contributors

harveyslash avatar spider101 avatar

Watchers

 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.