You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had finish to train the double LSTM model without attention strategy,so here i want to train it with attention,it raise this,how should i correct the code,everything were follow on the book and code repo.
The text was updated successfully, but these errors were encountered:
ElinLiu0
changed the title
Mismatch size raside at categorical_crossentropy
Mismatch size rasied at categorical_crossentropy
Jul 20, 2023
At chap7 Attention RNN training period,here i follow the book to build the model looks like this:
But when i use fit function to train it,it raise an mismatch tensor size on categorical_crossentropy calculation,like below:
I had finish to train the double LSTM model without attention strategy,so here i want to train it with attention,it raise this,how should i correct the code,everything were follow on the book and code repo.
The text was updated successfully, but these errors were encountered: