DLS course 4 week 2 assignment 1

I’m getting an assertion error in the def ResNet50 function in this block of code

from outputs import ResNet50_summary
model = ResNet50(input_shape = (64, 64, 3), classes = 6)
comparator(summary(model), ResNet50_summary)

The error looks like this

Test failed
Expected value

[‘Add’, (None, 15, 15, 256), 0]

does not match the input value:

[‘TensorFlowOpLayer’, [(None, 15, 15, 256)], 0]

The only difference I see here is the expected shape of the layer is (None, 15, 15, 256) vs [(None, 15, 15, 256)]. Any idea what is causing this

The shapes are the same. The point is that you have used the wrong function. They were expecting “Add”, but you have used a more generic TF Layer function.