Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant seem to run this.. #3

Open
gateway opened this issue Feb 11, 2020 · 1 comment
Open

Cant seem to run this.. #3

gateway opened this issue Feb 11, 2020 · 1 comment

Comments

@gateway
Copy link

gateway commented Feb 11, 2020

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!

@greycubesgav
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants