09-17 16:42
Notice
Recent Posts
Recent Comments
반응형
관리 메뉴

BAN2ARU

PIL.UnidentifiedImageError: cannot identify image file 본문

Language/Python

PIL.UnidentifiedImageError: cannot identify image file

밴나루 2022. 3. 2. 15:09

PIL.UnidentifiedImageError: cannot identify image file

tensorflow/core/kernels/data/generator_dataset_op.cc:107] Error occurred when finalizing GeneratorDataset iterator: Failed precondition: Python interpreter state is not initialized. The process may be terminated.

잘 돌아가던 코드가 다음과 같은 오류로 돌아가지 않는다면 학습 또는 test/validation set에서

읽을 수 없는 파일이나 크기가 0인 파일이 포함된 것임.

728x90
Comments