This project is a python implementation of Deep Image Analogy.https://arxiv.org/abs/1705.01088.
-
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)
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
My project acknowledge the official code Deep-Image-Analogy, pytorch, and another pytorch implementation. Especially, thanks for the authors of this amazing algorithm.