ValueErrorraise ValueError(
ValueError: : StringIO cannot be used to open an image. Binary data must be used instead.ValueErrorStringIO cannot be used to open an image. Binary data must be used instead.
I have a similar question when I use Image to open item['imgs'] loaded by ByteIO:
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7f6134184b30>.
Have you solved this problem?
ValueErrorraise ValueError( ValueError: : StringIO cannot be used to open an image. Binary data must be used instead.ValueErrorStringIO cannot be used to open an image. Binary data must be used instead.