Course 4: week 2: assignment 1: Exercise 3: ResNet50

I’m getting this error after the implementing the code. confusing part is that the error starts from the part of the code already implemented by the instructors

Hello @Jorrad
Run all the cells from the beginning to avoid this error

Alright. Thanks. Its working now

It works the same way here as it did over in MLS. Having the code sitting there in a cell does nothing: you have to run it (Cell → Run All Above) for the functions to be defined. And you have to do this everytime you close and reopen the notebook or do “Kernel → Restart”.