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.
be in the root directory and run pip install -r requirements.txt
Run the Deep Image Analogy.ipynb file in the notebooks folder (using jupyter)
cd into src , and run python Deep-Img-Analogy.py INPUT_IMG_A INPUT_IMG_BB OUTPUT_IMG
This project uses Adam as optimizer instead of LBFGS. LBFGS was giving really poor results.
├── 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