None type error in ResNet50 function

Code Cell UNQ_C1: Function ‘identity_block’ is correct.
Code Cell UNQ_C2: Function ‘convolutional_block’ is correct.
Code Cell UNQ_C3: Unexpected error (AttributeError("‘NoneType’ object has no attribute ‘shape’")) occurred during function check. We expected function ResNet50 to return ResNet50 test 1 failed. Please check that this function is defined properly.
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.

I am getting this error in course 4 assignment 1, please help

Have you completed all of the parts of the assignment, before you submit it for grading?

yes, I can send u notebook if u want

No, I do not need to see your notebook at this time.

I think that somewhere in the UNQ_C3 cell, you have left a “None” statement that needs to be replaced with the proper code.