Skip to content

Commit bcf2681

Browse files
author
mayong
committed
2 parents 4236cef + 4cd331d commit bcf2681

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

readme.md

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

33

4+
## 使用方法:
5+
```
6+
python yolo2coco.py --data_path /path/to/darknet/data_config.data
7+
```
8+
9+
上面的data_config.data是以下内容:
10+
11+
```
12+
classes=2
13+
train=gen_train.txt
14+
valid=gen_valid.txt
15+
names=qmobj.names
16+
backup=data
17+
18+
```
419

520
文档参见 : [csdn博客](https://blog.csdn.net/znsoft/article/details/119059967)
621

0 commit comments

Comments
 (0)