Neural Machine Translation with Attention-week3_A1_EX2

Hello,
When I run the UNIT TEST I got the error message:

in
34
35
—> 36 modelf_test(modelf)

in modelf_test(target)
31 assert len(model.outputs) == 10, f"Wrong output shape. Expected 10 != {len(model.outputs)}"
32
—> 33 comparator(summary(model), expected_summary)
34
35

~/work/W3A1/test_utils.py in comparator(learner, instructor)
16 def comparator(learner, instructor):
17 if len(learner) != len(instructor):
—> 18 raise AssertionError(“Error in test. The lists contain a different number of elements”)
19 for index, a in enumerate(instructor):
20 b = learner[index]

AssertionError: Error in test. The lists contain a different number of elements

From the above output, I understand that the number of layers in my model is not as expected.
I think that the number of layers in my model is correct because I followed the instructions.
Do you have an idea how to solve my problem ?

Hi @Edi_Dolginov ,
Could you message your notebook? (click my name and message your notebook as an attachment).

Thank you for trying to help. Meanwhile, I solved the problem (I did not follow all the details in the instructions).