图片使用resize_image_with_crop_or_pad方法报错问题
在学习tensorflow的过程中遇到一个图片预处理的问题:具体代码如下:image_raw_data = tf.gfile.FastGFile("./dog.jpeg",'rb').read()with tf.Session() as sess: img_data = tf.image.decode_jpeg(image_raw_data) print (img_data.get_s...
原创
2018-04-28 14:58:17 ·
1545 阅读 ·
1 评论