C4W2 - InvalidArgumentError: Exception encountered when calling layer 'softmax_157'

Please help me point out why this is so:



hi @Ernest_Divine

check the below thread if it helps you debug your codes.

One of the issue clearly seen in your code is you have used training for block 2, which you are not suppose to.

Also check your output code and the padding mask recall to the output. if they are correctly recalled

in case you still not able to find, let me know.

Regards
DP

I got my answer from the thread you posted.
I was using the wrong input parameter for the decoder mask.
Thank you!

1 Like