我可以使用Tensorflow转换/解码二进制的JPEG文件吗? [英]Can I convert/decode a JPEG file that is in binary with Tensorflow?
如果没有图像处理 python 库(Pillow 和 cv2)无法读取,如何解码这个二进制图像文件? [英]How to decode this binary image file if none of image processing python libraries (Pillow and cv2) are unable to read?
tf.image.decode_jpeg - 内容必须是标量,有形状 [1] [英]tf.image.decode_jpeg - contents must be scalar, got shape [1]
如何在 Tensorflow 中 decode_jpeg 后获取图像的形状? [英]How to get the shape of an image after decode_jpeg in Tensorflow?