Skip to content

Batch_neural style

jamahun edited this page Aug 17, 2020 · 1 revision

Clone the .sh file to your neural-style directory

cd neural-style
git clone https://gist.github.com/da739310db3b704667bb2ec680ee087d.git

In Jupyter Lab edit the .sh file

Edit the .sh file so that the style and content names are related to the images you want to use, and you have included any arguments that are required. NOTE: you will want a different output name for each iteration

th neural_style.lua \
  -content_image destination/directory/content01.jpg \
  -style_image destination/directory/style01.jpg \
  -output_image out1.png \

Run the .sh file from your neural-style directory

cd neural-style
sh batch-neural.sh