HELP Week3 Assignment2 unet_model

ublock7 = upsampling_block(ublock6, cblock3[1], n_filters*4)

can any one please help me out with this error.

Expected value

[‘Conv2D’, (None, 12, 16, 256), 1179904, ‘same’, ‘relu’, ‘HeNormal’]

does not match the input value:

[‘Conv2D’, (None, 12, 16, 32), 147488, ‘same’, ‘relu’, ‘HeNormal’]

Please ignore i got the solution


hey, I got stuck here as well, what’s the solution


any solution for this?

hello @paulinpaloalto Could you help us with this error please ?

This is my log

Are you sure that your conv_block function passed the unit tests in the notebook? Notice that in the earlier posts on this thread, it’s the output sizes that are incorrect. In your case, what doesn’t match is the number of trainable parameters. I’m having a hard time coming up with a theory for how that could be wrong in the full unet case if your conv_block function was correct.

yes @paulinpaloalto my conv_blockfunction passed the unit test

Ok, then there must be something wrong with how you are invoking that function. Did you perhaps hard-code the number of filters you pass when you call conv_block, instead of using the parameter that was passed in?