ValueError: Input 0 of layer “sequential” is incompatible with the layer
训练过程中报错: ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 100, 22), found shape=(32, 100, 21) 字面意思是:输入层……
隐者艾伦的技术博客
有可能python代码运行的时候会出现以下错误:
NameError: name ‘to_categorical’ is not defined
NameError: name ‘layers’ is not defined
NameError: name ‘models’ is not defined
NameError: name ‘callbacks’ is not defined