I am getting an error like this. I think that the sequential layerand the two tensorflowoplayer are missing, even though my code seems perfectly fine. Can someone please help regarding this.
Test failed
Expected value
[‘Sequential’, (None, 160, 160, 3), 0]
does not match the input value:
[‘Functional’, (None, 5, 5, 1280), 2257984]
AssertionError Traceback (most recent call last)
in
10 [‘Dense’, (None, 1), 1281, ‘linear’]] #linear is the default activation
11
—> 12 comparator(summary(model2), alpaca_summary)
13
14 for layer in summary(model2):
~/work/W2A2/test_utils.py in comparator(learner, instructor)
19 “\n\n does not match the input value: \n\n”,
20 colored(f"{a}", “red”))
—> 21 raise AssertionError(“Error in test”)
22 print(colored(“All tests passed!”, “green”))
23
AssertionError: Error in test