Hi,
I have just implemented the music_inference_mode, and run the next cell and I got this message.
It runs the loop up the final of the Ty an then it stops and gives that message and an assertion error without string
Hi,
I have just implemented the music_inference_mode, and run the next cell and I got this message.
It runs the loop up the final of the Ty an then it stops and gives that message and an assertion error without string
Hey @Alejandro_Gutierrez,
In your djmodel
function, there seems to be an error in the last line, as can be seen by the assertion error. I can see that in your last line, you have fed a
and c
in as the inputs to the Model, whereas, as per the variables defined in the assignment, they should be a0
and c0
respectively, since a
and c
are supposed to be the intermediate hidden states and cell states, and not the initial ones. They are just initialized as a0
and c0
.
Can you please replace the last line of code in your djmodel
function with model = Model(inputs=[X, a0, c0], outputs=outputs)
? I hope this helps.
Regards,
Elemento