Week1, music_inference_model

I’m having an issue running my music_inference_model. It appears there is a mismatch of dimensions on the input. I have printed out the shape of x,a, and c as well as the error message.

Any ideas?

The error is coming from your call to LSTM_cell().
Perhaps you’re not slicing ‘X’ correctly to create ‘x’.

I’ve tried slicing x in each of the 3 axes with t (Ty), but I’m not having any luck. looking at the shape of x, a, and c, I don’t see how they would “fit” into the model.

Any ideas?

I had the same problem, everytime you run that cell again, error number got incremented. I restart the kernel, run each cellone by one and problem solve