I have got the following error. Any advice?
1 Like
Hi @pongyuenlam
There is a problem with your dimensions. Make sure that input_sentence
, output_sentence
, and Embedding dimensions have the correct dimensions ([batch_size, sequence_length]
). Also, check that the enc_padding_mask
and look_ahead_mask
have the correct shapes and are appropriately broadcasted to match the input dimensions.
Double-checking these points should help resolve the shape mismatch and ensure that your inputs align with the model’s required inputs.
2 Likes
@Alireza_Saei I can pass this exercise and the course now. Thanks.
1 Like
You’re welcome, happy to help
2 Likes