这些代码应该训练一个包含大量图片的keras模型,这些图片要么是dummy_images,要么是产生错误ValueError: could not broadcast input array from shape (300,300,3) into shape (300,300)的product_images # import packagesimport numpy as npprint("resizing images")
for
我甚至调整了测试图像的形状(300,300,3)。请帮帮忙。 我正在尝试从我构建的训练分类器中预测图像。但每次我尝试这样做的时候,它都会给我这个值错误。session.py", line 1128, in _runValueError: Cannot feed value of shape (300, 300, 3) for Tensor 'input/X:0', which has shape '(?,