unet icon indicating copy to clipboard operation
unet copied to clipboard

ValueError: Error when checking target: expected conv2d_11 to have shape (16, 16, 1) but got array with shape (256, 256, 1)

Open manvirvirk opened this issue 6 years ago • 1 comments

i m training this model on rgb images and grayscale mask. I m getting this error. Can anyone help. Thanks

manvirvirk avatar Apr 10 '20 14:04 manvirvirk

You need to reshape your images to the target size (256,256) or change the target size. You can try to use my fork and see if it works for you.

Nelson-Gon avatar Jun 23 '20 03:06 Nelson-Gon