Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |
Tags
- SQLD
- 비디오미리보기
- Linux
- docker
- 파이썬
- tao_toolkit
- deepstream
- 리눅스
- pyMySQL
- Python
- 도커
- 알고리즘
- 딥스트림
- 타오툴킷
- Spring
- dkms
- 스프링
- C
- 딥러닝
- nfs mount
- 네트워크
- 백준
- nouveau
- C++
- 주피터 노트북
- yolov7
- IOU
- 도커 컨테이너
- 정처기
- mAP@.5
Archives
- Today
- Total
한 번만 더 해보자
[Python] corrupt image/label: could not convert string to float: '\ufeff0’ 본문
언어/Python
[Python] corrupt image/label: could not convert string to float: '\ufeff0’
정 하임 2024. 1. 4. 21:21상황
yolo 학습을 돌리려는데 새로 넣은 이미지와 라벨을 매칭하지 못함
에러코드
train: WARNING ⚠️ /usr/home/train/images/warping_img_0001463.jpg: ignoring corrupt image/label: could not convert string to float: '\\ufeff0'
해결
- open(file_name, "r", encoding='utf-8-sig') 사용
- 이미 utf-8-sig를 사용해서 라벨을 만들었다
반응형