-
Week # must be added in the tags option of the post.
week1 -
Description (include relevant info but please do not post solution code or your entire notebook)
Issue:
I need to add input to happyModel(input here)
, but I’m unable to edit the code in the original code cell in the Jupyter notebook—it’s locked. So, I created a new code cell and typed my answer there. All the tests passed, but my grade is still only 50.
Code context (from the notebook):
python
CopyEdit
happy_model = happyModel()
# Print a summary for each layer
for layer in summary(happy_model):
print(layer)
output = [['ZeroPadding2D', (None, 70, 70, 3), 0, ((3, 3), (3, 3))],
['Conv2D', (None, 64, 64, 32), 4736, 'valid', 'linear', 'GlorotUniform'],
['BatchNormalization', (None, 64, 64, 32), 128],
['ReLU', (None, 64, 64, 32), 0],
['MaxPooling2D', (None, 32, 32, 32), 0, (2, 2), (2, 2), 'valid'],
['Flatten', (None, 32768), 0],
['Dense', (None, 1), 32769, 'sigmoid']]
comparator(summary(happy_model), output)
Any help on how to properly input the model so it registers for grading would be appreciated!