ValueError: Attempt to convert a value (<PIL.PngImagePlugin.PngImageFile image mode=RGB size=519x600 at 0x7F95AD916518>) with an unsupported type
问题 while i was opening and decoding an image from python with tensorflow i got an error %tensorflow_version 2.x import tensorflow as tf from PIL import Image import requests from io import BytesIO response = requests.get(r'https://upload.wikimedia.org/wikipedia/commons/e/e9/Felis_silvestris_silvestris_small_gradual_decrease_of_quality.png') img = Image.open(BytesIO(response.content)) tf_image = tf.io.read_file(img) error is hapenning when i used tf.io.read_file(img) Throws error of