This is the code for the paper
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
Justin Johnson,
Alexandre Alahi,
Li Fei-Fei
Presented at ECCV 2016
refreshing the repositories
sudo apt update
its wise to keep the system up to date! you can skip the following line if you not want to update all your software
sudo apt upgrade
installing python 3.6.5 and pip for it
sudo apt-get install python3-pip
installing python virtualenv
sudo pip install virtualenv
install virtualenv and application dependencies
virtualenv ~/fast_style_transfer/
source ~/fast_style_transfer/bin/activate
pip install -r requirements_python3.txt
source ~/fast_style_transfer/bin/activate
Once the virtualenv is set up, go throught train.py and change the paths of the dataset and folders and run to train.