File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed
Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change 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的训练。
4539 └── 000000000001.jpg
4640 ```
4741
48- #### YOLOV5 yaml数据描述文件转 → COCO
49-
42+ #### YOLOV5 YAML描述文件 → COCO
5043- YOLOV5 yaml 数据文件需要包含:
5144 ```text
5245 YOLOV5_yaml/
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 )
You can’t perform that action at this time.
0 commit comments