Skip to content

Commit 18a264a

Browse files
committed
Update README
1 parent e287adc commit 18a264a

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

README.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
## YOLO2COCO
2-
3-
- [YOLO2COCO](#yolo2coco)
4-
- [YOLOV5格式数据 → COCO](#yolov5格式数据--coco)
5-
- [darknet格式数据 → COCO](#darknet格式数据--coco)
6-
- [可视化COCO格式下图像](#可视化coco格式下图像)
7-
- [相关资料](#相关资料)
8-
2+
---
93
#### YOLOV5格式数据 → COCO
104
- 可以将一些背景图像加入到训练中,具体做法是:直接将背景图像放入`backgroud_images`目录即可。
115
- 转换程序会自动扫描该目录,添加到训练集中,可以无缝集成后续YOLOX的训练。
@@ -45,8 +39,7 @@
4539
└── 000000000001.jpg
4640
```
4741
48-
#### YOLOV5 yaml数据描述文件转 → COCO
49-
42+
#### YOLOV5 YAML描述文件 → COCO
5043
- YOLOV5 yaml 数据文件需要包含:
5144
```text
5245
YOLOV5_yaml/
@@ -91,14 +84,15 @@
9184
```
9285

9386
#### 可视化COCO格式下图像
94-
```shell
95-
python coco_visual.py --vis_num 1 \
96-
--json_path dataset/YOLOV5_COCO_format/annotations/instances_train2017.json \
97-
--img_dir dataset/YOLOV5_COCO_format/train2017
98-
```
99-
- `--vis_num`:指定要查看的图像索引
100-
- `--json_path`:查看图像的json文件路径
101-
- `--img_dir`: 查看图像所在的目录
87+
```shell
88+
python coco_visual.py --vis_num 1 \
89+
--json_path dataset/YOLOV5_COCO_format/annotations/instances_train2017.json \
90+
--img_dir dataset/YOLOV5_COCO_format/train2017
91+
```
92+
93+
- `--vis_num`:指定要查看的图像索引
94+
- `--json_path`:查看图像的json文件路径
95+
- `--img_dir`: 查看图像所在的目录
10296

10397
#### 相关资料
10498
- [MSCOCO数据标注详解](https://blog.csdn.net/wc781708249/article/details/79603522)

0 commit comments

Comments
 (0)