I am getting an error saying invalid syntax: X = BatchNormalization(axis = 3)(X, training = training) when writing code for convolution block. I have checked the code few times for now but unable to locate the error.
Kindly help me in this regard.
I am getting an error saying invalid syntax: X = BatchNormalization(axis = 3)(X, training = training) when writing code for convolution block. I have checked the code few times for now but unable to locate the error.
Kindly help me in this regard.
{Moderator Edit: Solution Code Removed}
In your ## Second component of main path (≈3 lines)
, for Conv2D
, you are not closing the parenthesis. Check it out.
PS: Sharing your code is not allowed. Next time, only share your full error.
Yeah, I forgot to close the bracket. Now the code is running fine. Thanks for the help.
And, I will take care of not sharing the code image in future.