JianqiangRen / AAMS

Official repository of the paper 'Attention-aware Multi-stroke Style Transfer' in CVPR 2019
https://sites.google.com/view/yuanyao/attention-aware-multi-stroke-style-transfer
MIT License
79 stars 14 forks source link

syntax error in test.py #6

Closed 129lovely closed 3 years ago

129lovely commented 3 years ago
$ python test.py --model tf_model/aams.pb --content images/content/lenna_cropped.jpeg --style images/style/candy.jpg 
  File "test.py", line 117
    print 'Warning: {}'.format(e)
                      ^
SyntaxError: invalid syntax

I think line 117 should be modified like below :)

print('Warning: {}'.format(e)')
129lovely commented 3 years ago

I will create pull request soon! (I found this issue depends on the version of python)