PLEASE FIX this:
Add: LSTM_cell = LSTM(n_a, return_state = True)
Before:
inference_model = music_inference_model(LSTM_cell, densor, Ty = 50)
I just spent several days on this.
PS. love the courses.
PLEASE FIX this:
Add: LSTM_cell = LSTM(n_a, return_state = True)
Before:
inference_model = music_inference_model(LSTM_cell, densor, Ty = 50)
I just spent several days on this.
PS. love the courses.
Yes I tried for 2 days but this code worked. Thank you @SteveRegis
I agree this exercise was confusing because of too many information into one exercise and having to scroll up and down many times to read the contents. This exercise could have been divided into two parts.
Thank you very much my man
Thank you for this tip. It really helped as it would have taken a lot of time if I had not seen your post.
It didnt solve my problem
Thanks for your solution. I have the same problem and your answer helped me to solve it. But this is weird to me. In the music_inference_model, I think we should use the trained LSTM_cell from the previous section. However, based on what you suggest and my understanding, we create a new LSTM block that needs to train and use for inference. Can you correct me and explain your idea a little more?
Thanks