我想在预测期间将卷积层的输出结果传递给隐藏层之前对其进行修改。import tensorflow as tffrom keras.utils import to_categorical # convert to array # reshape into a single sample with 1channel
img = img.reshape(1
我正在遵循本教程,我创建了自定义培训数据并将其转换为.pb,但是当我尝试使用toco将.pb转换为.tflite时,我得到了一个错误。2018-10-10 13:56:40.442130: i tensorflow/contrib/lite/toco/import_tensorflow.cc:1233]转换不受支持的操作: DecodeJpeg/lite/toco/