Course 5, week 1, project 3

Hi

I have a problem with the inference_model function.

When I am executing the cell

inference_summary = summary(inference_model)
comparator(inference_summary, music_inference_model_out)

I obtain this error:

“The layer “dense” 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.”

I did not find what is wrong:
out.shape is (None, 90)
and x.shape is (None, 1,90) except after argmax(None,) and one_hot (None,90)

Thank you for your help.

Try this thread:

Thank you very much. I restarted the notebook and now it works!