Does your code in identity_block() use the “training” parameter anywhere?
It should not.
There are a lot of parameters to check here: e.g. the filter sizes and strides on all the functions you have to fill in.
If you’ve gone through carefully and compared your code to the instructions and still not found the error, then check your DMs for a message from me.