Convolutional Neural Network (week 2, programming exercise 2)

I get an error on CNN week 2 programming exercise 2 ResNet50() model summary for “stage 2” in the ResNet50() function which is already implemented for us. The error is “Tensor object is not callable”. Could you please help me to understand what the error cause could be ?
Thanks in advance.

Did you modify the Stage 2 code by adding the “(X)” parameters at the ends of the lines?
Do the instructions tell you to modify the code that you were provided for Stage 1 and Stage 2?

Hi TMosh,

Thanks a lot for your reply. Perhaps I did it by mistake.