赞
踩
add()函数要求相加的两个函数维度必须完全相同
conat_x = add([theta_x, phi_g])
报错:Traceback (most recent call last): File "I:/Retina-OD-Unet-master+unet-layer+attention/OD-training.py", line 478, in <module> model = att_unet(patch_height, patch_width,n_ch) #the U-net model File "I:/Retina-OD-Unet-master+unet-layer+attention/OD-training.py", line 232, in att_unet up1 = attention_up_and_concate(conv4, conv3, data_format=data_format) File "I:/Retina-OD-Unet-master+unet-layer+attention/OD-training.py", line 161, in attention_up_and_concate layer = attention_block_
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。