资源算法Deep-Image-Analogy-PyTorch

Deep-Image-Analogy-PyTorch

2019-12-18 | |  43 |   0 |   0

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)

图片.png

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

下一篇:image-analogies-python

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...