我有一个Keras模型,当我拟合时会失败,错误如下> LSTM(..)Error when checking input: expected input_1 to have 3 dimensions, but got array with shape (10842, 1)
在查看我的输入时尝试使用keras Reshape层时,模型创建失败,<
或者,在过拟合的情况下,验证损失增加,验证精度下降。但是,随着训练的进行,验证损失和验证精度都在增加。然而,训练计划正在按照预期进行,即训练损失下降,训练准确率上升。以下是代码和输出:import tensorflow as tffrom tensorflow.keras import layers as l
mnist = tf.<e