tensorflow inceptionv3参数笔记

image_data = tf.gfile.FastGFile(full_path,'rb').read()
prediction = sess.run(softmax_tensor, {'DecodeJpeg/contents:0': image_data})
image_array = cv2.imread(full_path,0)
prediction = sess.run(softmax_tensor, {'DecodeJpeg:0': image_array})

解析图片,以及直接使用矩阵.python

相关文章
相关标签/搜索