DLS Course 5, Week1, Assignment 3 - Jazz Solo LSTM

Hi,
I am getting the following error when I run the djmodel(Tx, LSTM_cell, densor, reshaper).

ERROR:
“The layer “reshape_1” has multiple inbound nodes, with different output shapes. Hence the notion of “output shape” is ill-defined for the layer. Use get_output_shape_at(node_index) instead.”

Could you please help me resolve this. I have pasted my code below.
Thanks.


### START CODE HERE ### 

{mentor edit: code removed - breaks the course Honor Code}
### END CODE HERE ###

Hi,

I got the same error but rerunning the previous cells fixed it for me, have you tried that?

Thanks,
Elizabeth

How many iterations through the for-loop will this give?

Many thanks to the mentors. Re-running the previous cell resolved the issue.

Also, I had to update the for loop to run for Tx loops. I had set this to 1 loop in order to help me debug the error.

1 Like