# ERROR
# OSError: image file is truncated (77 bytes not processed)
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
코드 두 줄로 오류 해결
'개발' 카테고리의 다른 글
| py to ipynb (0) | 2024.02.02 |
|---|---|
| seed고정 (0) | 2024.02.02 |
| 개발은 독서와 같다. (0) | 2024.02.02 |
| 직접 분할압축파일 병합 (1) | 2024.02.01 |
| raise ValueError("Dimensions %s and %s are not compatible" % (0) | 2024.02.01 |