File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 11## YOLO2COCO
22
3+ - [ YOLO2COCO] ( #yolo2coco )
4+ - [ YOLOV5格式数据 → COCO] ( #yolov5格式数据--coco )
5+ - [ darknet格式数据 → COCO] ( #darknet格式数据--coco )
6+ - [ 可视化COCO格式下图像] ( #可视化coco格式下图像 )
7+ - [ 相关资料] ( #相关资料 )
8+
39#### YOLOV5格式数据 → COCO
410- 可以将一些背景图像加入到训练中,具体做法是:直接将背景图像放入` backgroud_images ` 目录即可。
511- 转换程序会自动扫描该目录,添加到训练集中,可以无缝集成后续YOLOX的训练。
8490 python darknet2coco.py --data_path dataset/darknet/gen_config.data
8591 ```
8692
87- #### 可视化COCO格式标注格式
93+ #### 可视化COCO格式下图像
8894 ``` shell
8995 python coco_visual.py --vis_num 1 \
9096 --json_path dataset/YOLOV5_COCO_format/annotations/instances_train2017.json \
9197 --img_dir dataset/YOLOV5_COCO_format/train2017
9298 ```
99+ - ` --vis_num ` :指定要查看的图像索引
100+ - ` --json_path ` :查看图像的json文件路径
101+ - ` --img_dir ` : 查看图像所在的目录
93102
94103#### 相关资料
95104- [ MSCOCO数据标注详解] ( https://blog.csdn.net/wc781708249/article/details/79603522 )
You can’t perform that action at this time.
0 commit comments