I made tons of researchs and did really find nothing, everything works, I can generate musics all other cells works except this one, I will write the music_inference_model function below, please someone help
Welcome to the community!
First a reminder: Please do not post your code on the forum. That’s not allowed by the community standard. I will edit your post to remove the code.
I recommend you do a search on the forum for the term “multiple inbound nodes”. There are lots of posts about this error.
That “last axis” bit means you have to use “axis = -1”.
Note that after you change anything in music_inference_model(), you have to re-run all of the cells in the notebook again. This is because both music_inference_model() and djmodel() use the same global object LSTM_cell - so any changes in your code can mangle the LSTM_cell parameters.
I also noticed that your arguments for the inference_model = Model(...) are not correct. You’ll get an error for that. Hint: The outputs are not [out].
I am not it’s the reason the code did worked but as you mentioned now I changed the argument in “model = Model(…)” 15 min ago the cell did worked, thank you for your help