我是深度学习的初学者,正在构建一个根据图像确定人的程序。site-packages/tensorflow/python/keras/engine/training_utils.py", line 329, in standardize_input_dataValueError: Error when checking target: expected dense_1 to have shape (57
当我尝试在Keras和Tensorflow后端训练我的模型时,我遇到了一个问题。evaluate the keras modelprint('Accuracy: %.2f' % (accuracy*100)) 特征形状:(5000,400)标签形状(5000,) 我在调用model.fit()的那一行得到了错误。我试图修复这个错误:我尝试使用以下代码重塑X和y数值数组: X.resha
我想用VGG16训练时尚-MNIST数据集,但我在维度上有一些困难……Epoch 1/50
ValueError Traceback (most recent call: expected vgg16_input to have shape (32, 32, 3) but got array with shape