Course 5 w1 assignment3 inference_model value error excercise2

its showing

" ValueError: Graph disconnected: cannot obtain value for tensor Tensor(“input_2:0”, shape=(None, 1, 90), dtype=float32) at layer “lstm_1”. The following previous layers were accessed without issue: "

can you pls share your thoughts? I am stuck at exercise 2 for a long time. any kind of help will be appreciated .

Hi @curliko,

Have a look at this link to see if it helps

hey @Kic thanks, it worked. in the line
inference_model = Model([x0, a0, c0], outputs=outputs)
I took x instead of x0 , so it was not working.

Great to hear you have got it sorted.

1 Like