我正在尝试拟合CNN Keras模型,向其提供由Tensorflow的Datasets处理的数据。data for each key in: ['conv2d_8_input']
# conv2d_8 is the first Conv2D layer of my model, see below 我使用的是来自tensorflow-datasets的MNIST数据集,图像被标准
我正在尝试用tf.Dataset作为我的数据集来拟合Keras模型。我指定了参数steps_per_epoch。但是,出现了此错误:ValueError: When using iterators as input to a model, you should specify the 'steps_per_epoch' argument.此错误使我感到困惑,因为我将steps_per_epoch参数指定为数据集的长度。我已经尝试了N