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 ?