Hello, I downloaded the notebook for Week 1 assignment 3 into my laptop and run it but the error arises as seen below. I did 100/100 for the grader output. I am not sure why this is happening.
Those tests do not necessarily mean you won’t be able to reproduce Jazz music. I had the same error but was able to generate music.
I guess the issue is the different versions of python libraries installed on Coursera.
For instance, I usually get the warning
serWarning: The lr argument is deprecated, use learning_rate instead.
super(Adam, self).init(name, **kwargs)
Changing it to “learning_rate” removes the warning.
So, even without “All tests passed!” your code could serve its purpose.
I struggled a bit with this issue… but @TMosh 's question about using a local environment versus Coursera’s made me check on the cloud vs my computer’s output.
‘SlicingOpLambda’ is what I get locally and ‘TensorFlowOpLayer’ is what is expected. I guess this has to do with different TensorFlow versions, I’m using tensorflow-macos==2.10.0 and on the Coursera I believe is 2.6 or something else…