garbage_classify icon indicating copy to clipboard operation
garbage_classify copied to clipboard

请教run.py出现valueError,

Open mars918 opened this issue 4 years ago • 1 comments

ValueError: Error when checking input: expected conv2d_1_input to have 4 dimensions, but got array with shape (16, 1)

mars918 avatar Mar 11 '20 12:03 mars918

你好,是不是你的图像本身的问题呢。这个意思是输入到网络的图像和目标的shape不对应导致的。

wusaifei avatar Jun 20 '20 09:06 wusaifei