Description
Timst is a python package based on pyTorch that extracts the features of an image and tranfers them into another; such a technique is known as image style transfer. The following implementation is a re-implementation of this code that is based on the following scientific paper. The architecture is based on Convolutional Neural Network (CNN) which is one of the applications of Deep Learning.
How to install
There are different ways the package can be installed:
- By clonning this repository and running the following command in the terminal (you might require sudo privilege)
git clone https://github.com/Radonirinaunimi/Style-Transfer
cd Style-Transfer/
python setup.py install --user
- By installing it through the Python Package Index (PyPI)
pip install timst --upgrade
How to use
To use timst, just run the following:
timst -i [IMAGE_TO_BE_STYLED] -s [STYLE_TO_BE_APPLIED] [-n NUMBER_OF_ITERATIONS]
For bugs and feature request
Open an issue or a pull request.