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 | 31 |
Tags
- 기타
- Numpy
- C#
- C++
- 채보
- 기타 연주
- Visual Studio
- Docker
- Selenium
- VS Code
- OpenCV
- label
- 오류
- windows forms
- JSON
- 프로그래머스
- 핑거스타일
- pandas
- Python
- 명령어
- error
- Linux
- YOLO
- ubuntu
- paramiko
- SSH
- mysql
- LIST
- pytorch
- C
Archives
- Today
- Total
목록제외 (1)
기계는 거짓말하지 않는다
YOLO label 텍스트 classid 제외
classid, x center, y center, width, height 형식의 YOLO label 텍스트 파일의 특정 classid를 제외해야 하는 경우 import os import glob import datetime import time # YOLO dataset 구조 형식일 경우 dir_root_path = "D:/Datasets/yolo_split_dataset/labels/" sub_dir_name_list = ["train", "val"] # 제외할 classid skip_classid_list = ["2", "5", "9"] start_time = time.time() for sub_dir_name in sub_dir_name_list: label_path_list = glob.glo..
AI
2022. 10. 23. 18:59