Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1011 Bytes

README.md

File metadata and controls

36 lines (20 loc) · 1011 Bytes

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

    Codes in branch "master" works with pytorch 0.4

    Codes in branch "pytorch0.3" works with pytorch 0.3

  • 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.