Can you please help me figure out what is my problem?
error is:
AttributeError: The layer “repeat_vector” 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.
Code is below. (Code deleted)
I can’t undetstand where is the problem. a and s have the correct shape
1 Like
Hi Noam_Mizrachi,
There may be an issue with your one_step_attention code. Could you send me that by means of a personal message?
Hi, Thanks for replying.
I managed to solve this by just restating the kernel.
I spend too much time on this 
After I managed to solve it, I noticed there is a note after the output block:
Troubleshooting Note
- If you are getting repeated errors after an initially incorrect implementation of “model”, but believe that you have corrected the error, you may still see error messages when building your model.
- A solution is to save and restart your kernel (or shutdown then restart your notebook), and re-run the cells.
I think it is reasonable to put a troubleshooting note before the code snippet
Thanks anyway
Hi Noam_Mizrachi,
Great that you were able to solve it! And thanks for reporting the issue with the troubleshooting note. I will remove your code.
I just solved this with saving and restarting “work in Browser”
I wish other people can save time… (Other method didn’t work for me)