好的。所以我对深度学习还很陌生。当我运行我的代码时,我得到了ValueError: Input 0 of layer sequential is incompatible with the layer: expected ndim=3, found ndim=2.Full shape received: (None, 1),我的维度是y = (6018,)model = Seq
使用我在网上找到的一些代码,我成功地训练了一个模型(哇!)能够判断我插入的音频文件中是否有笑声。('Input ' + str(input_index) + ' of layer ' +
ValueError: Input 0 of layer sequential is incompatiblewith the layer: expected ndim=3, found ndim=2
我是tensorflow.When的新手,我试着修改模型结构,我把一个张量'r',它的形状是(None,1 ),转换成带有tf.reshape(r,4,)的一维张量,然后输入到稠密层中。一维张量的形状为(4,),稠密层的input_shape设置为(4,),出现错误。ValueError:层“值”的输入0与图层不兼容: min