出现这个问题: InvalidArgumentError (see above for traceback): Input to reshape is a tensor with 16384 values, but the requested shape has 12288 解决办法: img = Image.open(img_path)后加上“.convert(“RGB”)”