We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c2671 commit dd2a2d6Copy full SHA for dd2a2d6
README.md
@@ -1,7 +1,8 @@
1
## YOLO2COCO
2
3
#### YOLOV5格式数据 → COCO
4
-- 可以将一些相似的背景图像加入到训练中,直接将背景图像放入`backgroud_images`目录即可,转换程序会自动扫描该目录,添加到训练集中。
+- 可以将一些背景图像加入到训练中,具体做法是:直接将背景图像放入`backgroud_images`目录即可。
5
+- 转换程序会自动扫描该目录,添加到训练集中,可以无缝集成后续YOLOX的训练。
6
- YOLOV5训练格式目录结构(详情参见`dataset/YOLOV5`):
7
```text
8
YOLOV5
@@ -19,11 +20,12 @@
19
20
```
21
22
- 转换
- - `--dir_path`:整理好的数据集所在目录
23
- - `--mode_list`:指定生成的json类型,前提是要有对应的txt文件,可单独指定。
24
- ```shell
+ ```shell
25
python yolov5_2_coco.py --dir_path dataset/YOLOV5 --mode_list train,val
26
+ - `--dir_path`:整理好的数据集所在目录
27
+ - `--mode_list`:指定生成的json,前提是要有对应的txt文件,可单独指定。(e.g. `train,val,test`)
28
+
29
- 转换后目录结构(详情参见`dataset/YOLOV5_COCO_format`):
30
31
YOLOV5_COCO_format
0 commit comments