몇 시간 고생했던 에러..
C:\darkflow>python flow --model ./cfg/my-tiny-yolo.cfg --labels ./labels.txt --trainer adam --dataset ../data/dataset/ --annotation ../data/annotations/ --train --summary ./logs --batch 5 --epoch 100 --save 50 --keep 5 --lr 1e-04
이렇게 학습시키려 하면
잘 나가다가 이렇게
UnicodeDecodeError: 'cp949' codec can't decode byte 0xeb in position 96: illegal multibyte sequence
에러가 났다.
cp949 에러는 파이썬 에러로 파일을 읽어들일 때 인코딩이 잘못되어서 나는 오류라고 한다.
이 파일 받아서
이와같이 다크플로우 파일 선택하고 확장차 py,cfg 추가한 뒤 decode해서 ANSI로 저장해주면 된다.
댓글