image_aug_for_detection
image_aug_for_detection copied to clipboard
转化出现编码问题
您好,我down下您的文件,用您的文件试运行的时候,出现了编码问题,您可以指点下吗?感谢D:\Python\python.exe C:/Users/Administrator/Desktop/coco_aug/example.py 0%| | 0/2 [00:00<?, ?it/s] Traceback (most recent call last): File "C:/Users/Administrator/Desktop/coco_aug/example.py", line 109, in <module> detection_augumentor.fit() File "C:/Users/Administrator/Desktop/coco_aug/example.py", line 35, in fit image = Image.open(image_path) # D:\Python\Lib\site-packages\PIL\Image.py File "D:\Python\lib\site-packages\PIL\Image.py", line 2618, in open prefix = fp.read(16) UnicodeDecodeError: 'gbk' codec can't decode byte 0xff in position 0: illegal multibyte sequence