To experiment purpose, the neural-style which get artistic image combine two images by using Neural Algorithm. Many articles were used Ubuntu distro. But this memo is for CentOS 7.

Environments: *This memo doesn’t include VirtualBox and Vagrant install procedure, Please refer other articles.

VirtualBox: Version 5.2.6 r120293 (Qt5.6.3)

Vagrant: 2.0.2

1. Create vagrant box and modify Vagrant file

MacBook-Pro:torch7_temp Tadashi$ vagrant init centos/7

Modify the Vagrantfile like below.

then “vagrant up” then “vagrant ssh”

2. Install Torch7

After login, first update packages, then install Torch7. see detail.

3. Install Protobuf

Protocol Buffers – Google’s data interchange format.

3. Install loadcaffe

To use VGG ILSVRC-2014 19-layer, install loadcaffe.

4. Install neural-style

See detail here.

5. Run command

“-gpu -1” option is no GPU use. It is many time to complete. 🙂 *on my MacBook pro 2017 which has not GPU, never finished so far lol

Hope this will help you 😗