zhixuhao / unet-multi

21 stars 16 forks source link

Error msg in Keras #2

Open SteveIb opened 6 years ago

SteveIb commented 6 years ago

Hi I have bunch of images 512* 512 i could run data.py on my 3 classes. but when I run unet.py I get the following error ValueError: "concat" mode can only merge layers with matching output shapes except for the concat axis. Layer shapes: [(None, 64, 64, 512), (None, 63, 64, 512)]

any idea what I should do? my experience is a little limited. Thanks in advnance

Enuvesta commented 5 years ago

Just comment line with cropping: up6 = Cropping2D(cropping = ((1,0),(0,0)))(up6)