style-transfer icon indicating copy to clipboard operation
style-transfer copied to clipboard

how i'm suppose to write the images in

Open Hallr841 opened this issue 9 years ago • 2 comments

python style.py -s <style_image> -c <content_image> -m <model_name> -g 0

sorry it not clear to me how do i'm supposed to write in the content i want to do , and in what directory

  1. python style.py -s <style_fruit.jpg> -c <content_orange> -m <model_vgg> -g 0
  2. python style.py -s <fruit.jpg> -c <orange.png> -m -g 0
  3. python style.py -s fruit.jpg -c orange.png -m vgg -g 0

Hallr841 avatar Apr 19 '16 05:04 Hallr841

python style.py -s -c -m -g 00 -bash: scan4: No such file or directory

Hallr841 avatar Apr 19 '16 05:04 Hallr841

You should use: python style.py -s images/style/starry_night.jpg -c images/content/johannesburg.jpg -m vgg16

You can also include an output folder (switch -o), as the standard folder 'output' is not in the directory structure of the git.

python style.py -s images/style/starry_night.jpg -c images/content/johannesburg.jpg -m vgg16 -o images/results/ All available options/parameters can be found in style.py in lines 88-97.

HTH, Georg.

waltner avatar Apr 28 '16 08:04 waltner