-
Notifications
You must be signed in to change notification settings - Fork 0
3_BASICS: Installing and using neural style through a virtual machine
jamahun edited this page Jul 28, 2020
·
5 revisions
The following tutorial will be referencing jcjohnson's neural-style. Follow the link for a more detailed information.
Use git clone
to download the neural-style folder onto your virtual machine
cd ~
git clone https://github.com/jcjohnson/neural-style
cd neural-style
sh models/download_models.sh
Navigate to the neural-style root directory cd ~/neural-style
and execute the following command:
th neural_style.lua -style_image <examples/inputs/image.jpg> -content_image <examples/inputs/image.jpg>
Search for images to use for both style and content and upload them to the /examples/inputs
folder. You can use the command wget
for this, to do so:
cd examples/inputs
wget -O style_name http://your_url.com
wget -O content_name http://your_url.com
For the full list of options go to https://github.com/jcjohnson/neural-style
- Use jcjohnson's jcjohnson's bash script by following this address and copying the raw code.