large_neural_style icon indicating copy to clipboard operation
large_neural_style copied to clipboard

Cant seem to run this..

Open gateway opened this issue 6 years ago • 1 comments

gateway@gateway-media:~/work/large_neural_style$ python3 large_neural_style.py --style /home/gateway/work/styles/star.jpg --content /home/gateway/work/images/home.jpg --content-weight 90.6e11 --output /home/gateway/work/large_neural_style/ Traceback (most recent call last): File "large_neural_style.py", line 6, in import stylize File "/home/gateway/work/large_neural_style/stylize.py", line 10, in import tiling File "/home/gateway/work/large_neural_style/tiling.py", line 333 print "Failed:", result ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Failed:", result)?

any thoughts? I didnt really seed any example command lines in the docs.. thank you!

gateway avatar Feb 11 '20 20:02 gateway

This seems to be an issue between running under Python 2 and Python 3.

Replace: print "Failed:", result With: print ("Failed:", result)

greycubesgav avatar May 31 '20 15:05 greycubesgav