neural-style-audio-tf
neural-style-audio-tf copied to clipboard
Getting Syntax error and deprecated TF function
trafficstars
Hi Dmitry, thanks for putting this together, this is exactly what I was looking for an experiment! I am definitely a beginner in this, but I was trying to run your example and I get a Syntax error on the Optimise kernel and in the Output in the print as now you have to add parenthesis.
File "<ipython-input-16-9eb962c6044b>", line 50
print 'Final loss:', loss.eval()
^
SyntaxError: invalid syntax
I also figured out that tf.initialize_all_variables() is now deprecated and so changed it to tf.global_variables_initializer()
Then it all works well! Thanks!
Hi, thank you for reporting. A PR will be very helpful!