Hi, as far as I know, I have completed my unet
function correctly yet I am facing this issue. Please help!
Share your full error please.
There are multiple errors.
First, we cannot use input_size
directly in our conv block. We use Input
class from the Keras functional API to define our input. This step is done for you by code inputs = Input(input_size)
. So, what is now our input? It is not input_size
.
Second, the instruction says: chain the first output element of each block to the input of the next convolutional block. Stress the word first. If I want to access the first output element of block X, it should be X[0]
, not X. Get it?
Best,
Saif.
Check your cblock5
. Again, stress the word, first output element.
Yes, I’ve got it now. Instead of {code removed by moderator}
, I was using {code removed by moderator}
in the first half of the model. I’ve rectified it now
I am glad you solved it. But remember, you cannot share your code here. I deleted your code.
But I never shared my code. I only shared the screenshots of my error
You unintentionally shared some part of your code, which I deleted now.
Thank you for your awesome pointer. Solved my problem.