/Deep-Image-Analogy-PyTorch

A python implementation of Deep-Image-Analogy based on pytorch. Please star this project if it helps :D

Primary LanguagePythonMIT LicenseMIT

Deep-Image-Analogy

This project is a python implementation of Deep Image Analogy.https://arxiv.org/abs/1705.01088.

Some results

Requirements

  • python 3

  • opencv3

    If you use anaconda, you can install opencv3 by conda install opencv

  • pytorch

    See pytorch for installation

  • cuda (CPU version is not implemented yet)

Usage (demo)

python main.py --resize_ratio 0.5 --weight 2 --img_A_path data/demo/ava.png --img_BP_path data/demo/mona.png --use_cuda True

Acknowledgments

My project acknowledge the official code Deep-Image-Analogy, pytorch, and another pytorch implementation. Especially, thanks for the authors of this amazing algorithm.