Oh, never mind. The bug was in Jupyter; when I restarted the kernel (rather than just re-running cells from top to bottom) the problem went away. Odd, but I’m good to go now. BTW - here was the full error (which I no longer get):
Test failed
Expected value
[‘Conv2D’, (None, 15, 15, 256), 16640, ‘valid’, ‘linear’, ‘GlorotUniform’]
does not match the input value:
[‘Conv2D’, (None, 15, 15, 256), 16640, ‘same’, ‘linear’, ‘GlorotUniform’]
AssertionError Traceback (most recent call last)
Input In [14], 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:23, in comparator(learner, instructor)
18 if tuple(a) != tuple(b):
19 print(colored(“Test failed”, attrs=[‘bold’]),
20 “\n Expected value \n\n”, colored(f"{b}“, “green”),
21 “\n\n does not match the input value: \n\n”,
22 colored(f”{a}", “red”))
—> 23 raise AssertionError(“Error in test”)
24 print(colored(“All tests passed!”, “green”))
AssertionError: Error in test
I’m happy to post my code as well if you like.