Skip to content

Commit ca9632a

Browse files
author
mayong
committed
2 parents 01ef3c6 + bd83ea6 commit ca9632a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
本程序用于将darknet的训练数据转换为coco格式,以便让yolox 使用。
1+
本程序用于将darknet或yolo5的训练数据转换为coco格式,以便让yolox 使用。
22

33

44
## 使用方法:
55
```
6+
#for darknet data
67
python yolo2coco.py --data_path /path/to/darknet/data_config.data
8+
9+
#for yolo5 data
10+
11+
python yolo2coco.py --data_path /path/to/yolo5/dataset/dir
712
```
813

914
上面的data_config.data是以下内容:

0 commit comments

Comments
 (0)