Week 2 Assignement 2 AssertionError: Error in test

I am getting error in test, where it says

does not match the input value:

[‘InputLayer’, [(1, 160, 160, 3)], 0].
Model summary is as below

Help Please.


The error was resolved by restarting the kernal and rerunning all cells. For anyone who is facing a similar issue.


Thanks a lot. I had the same issue and this worked for me.

OMG the same thing was happening to me and I just spent two hours trying to figure out what was going on! The data_augmentation() method was changing the ‘None’ size to a ‘1’. I need to remember sooner to search the messages here!

Thanks, same issue, resolved​:pray:

1 Like

Yeah. Thanks! This worked for me too.