On the course about Convolutional Neural Nets I stuble onto an error on 3rd task of
the 1st assignment on 2nd week. Whenever I try to compile all blocks and layers into ResNet50 I get an error after launching the code in the cell where it gets compared with resnet50_summary.
The code of my resnet50 appears to have correct number of lines.
I checked my code in convolutional and identity blocks and it seems to be correct.
Where could the source of the error hide?
AssertionError Traceback (most recent call last)
in
1 from outputs import ResNet50_summary
2 model = ResNet50(input_shape = (64, 64, 3), classes = 6)
----> 3 comparator(summary(model), ResNet50_summary)
/tf/W2A1/test_utils.py in comparator(learner, instructor)
14 def comparator(learner, instructor):
15 if len(learner) != len(instructor):
—> 16 raise AssertionError(f’Models does not have the same number of layers {len(learner)} != {len(instructor)}’)
17 for a, b in zip(learner, instructor):
18 if tuple(a) != tuple(b):
AssertionError: Models does not have the same number of layers 193 != 177