我正在尝试构建一个用于图像分割的Unet卷积神经网络,但当我尝试使用输入数据编译模型时,我得到了形状不兼容的错误消息。(str(e))
ValueError: Dimension 2 in both shapes must be equal, but are 512 and 511.,384,512] and [?,384,511]. for '{{node functional_3/d
这是我绘制功率谱密度信号的代码。我需要一些帮助,因为我在python中有错误编码。math.pi*15*t) + np.sin(2*math.pi*30*t)f = np.arange(0,len(Y)-1)*(Fs-1)/len(Y)plt.plot(f,P)这是我尝试运行它时遇到的错误。(f"x and y must have same first dimension, but