When creating a post, please add:
- Week # must be added in the tags option of the post.
- Link to the classroom item you are referring to:
- Description (include relevant info but please do not post solution code or your entire notebook)
*Week2
*Residual_Networks coding assignment
I have an error as below.
Test failed
Expected value
[‘Conv2D’, (None, 8, 8, 512), 66048, ‘valid’, ‘linear’, ‘GlorotUniform’]
does not match the input value:
[‘Conv2D’, (None, 8, 8, 512), 131584, ‘valid’, ‘linear’, ‘GlorotUniform’]
AssertionError Traceback (most recent call last)
Input In [46], in <cell line: 7>()
3 from outputs import ResNet50_summary
5 model = ResNet50(input_shape = (64, 64, 3), classes = 6)
----> 7 comparator(summary(model), ResNet50_summary)
File /tf/W2A1/test_utils.py:21, in comparator(learner, instructor)
16 if tuple(a) != tuple(b):
17 print(colored(“Test failed”, attrs=[‘bold’]),
18 “\n Expected value \n\n”, colored(f"{b}“, “green”),
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”))
AssertionError: Error in test
convolutional_block and identity_block all passed the test,
and ResNet50 architecture is as instruction.
what else should I check?