我正在尝试加载灰度图像数据集(fashion-mnist)到MobileNet模型并预测手写数字,但是根据此教程,该模型只能加载RGB图像。当我尝试输入fashion-mnist样本时,它给出了以下错误信息:
如何解决这个问题?Error when checking input: expected keras_layer_13_input to have shape (224, 224, 3) but got array with shape (224, 224, 1)