tensorflow预处理样本数据报错

    技术2022-07-10  125

    出现这个问题: 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”)”

    Processed: 0.010, SQL: 9