Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yolov5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
yolov5
Commits
8b38e6f4
提交
8b38e6f4
authored
7月 12, 2020
作者:
Glenn Jocher
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update dataset comments
上级
1b1681ba
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
19 行增加
和
16 行删除
+19
-16
coco.yaml
data/coco.yaml
+3
-3
coco128.yaml
data/coco128.yaml
+6
-6
get_coco2017.sh
data/get_coco2017.sh
+3
-2
get_voc.sh
data/get_voc.sh
+2
-1
voc.yaml
data/voc.yaml
+5
-4
没有找到文件。
data/coco.yaml
浏览文件 @
8b38e6f4
# COCO 2017 dataset http://cocodataset.org
# Download command: bash yolov5/data/get_coco2017.sh
# Train command: python train.py --data
./data/
coco.yaml
# D
ataset should be placed next to yolov5 folder
:
# Train command: python train.py --data coco.yaml
# D
efault dataset location is next to /yolov5
:
# /parent_folder
# /coco
# /yolov5
# train and val data
sets (image directory or *.txt file with image paths)
# train and val data
as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
train
:
../coco/train2017.txt
# 118k images
val
:
../coco/val2017.txt
# 5k images
test
:
../coco/test-dev2017.txt
# 20k images for submission to https://competitions.codalab.org/competitions/20794
...
...
data/coco128.yaml
浏览文件 @
8b38e6f4
# COCO 2017 dataset http://cocodataset.org - first 128 training images
# Download command: python -c "from yolov5.utils.google_utils import
gdrive_download; gdrive_download('1n_oKgR81BJtqk75b00eAjdv03qVCQn2f',
'coco128.zip')"
# Train command: python train.py --data
./data/
coco128.yaml
# D
ataset should be placed next to yolov5 folder
:
# Download command: python -c "from yolov5.utils.google_utils import
*; gdrive_download('1n_oKgR81BJtqk75b00eAjdv03qVCQn2f',
'coco128.zip')"
# Train command: python train.py --data coco128.yaml
# D
efault dataset location is next to /yolov5
:
# /parent_folder
# /coco128
# /yolov5
# train and val data
sets (image directory or *.txt file with image paths)
train
:
../coco128/images/train2017/
val
:
../coco128/images/train2017/
# train and val data
as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
train
:
../coco128/images/train2017/
# 128 images
val
:
../coco128/images/train2017/
# 128 images
# number of classes
nc
:
80
...
...
data/get_coco2017.sh
浏览文件 @
8b38e6f4
#!/bin/bash
# COCO 2017 dataset http://cocodataset.org
# Download command: bash yolov5/data/get_coco2017.sh
# Train command: python train.py --data
./data/
coco.yaml
# D
ataset should be placed next to yolov5 folder
:
# Train command: python train.py --data coco.yaml
# D
efault dataset location is next to /yolov5
:
# /parent_folder
# /coco
# /yolov5
# Download labels from Google Drive, accepting presented query
filename
=
"coco2017labels.zip"
fileid
=
"1cXZR_ckHki6nddOmcysCuuJFM--T-Q6L"
...
...
data/get_voc.sh
浏览文件 @
8b38e6f4
# PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/
# Download command: bash ./data/get_voc.sh
# Train command: python train.py --data voc.yaml
# D
ataset should be placed next to yolov5 folder
:
# D
efault dataset location is next to /yolov5
:
# /parent_folder
# /VOC
# /yolov5
start
=
`
date
+%s
`
# handle optional download dir
...
...
data/voc.yaml
浏览文件 @
8b38e6f4
# PASCAL VOC dataset http://host.robots.ox.ac.uk/pascal/VOC/
# Download command: bash ./data/get_voc.sh
# Train command: python train.py --data voc.yaml
# D
ataset should be placed next to yolov5 folder
:
# D
efault dataset location is next to /yolov5
:
# /parent_folder
# /VOC
# /yolov5
# train and val datasets (image directory or *.txt file with image paths)
train
:
../VOC/images/train/
val
:
../VOC/images/val/
# train and val data as 1) directory: path/images/, 2) file: path/images.txt, or 3) list: [path1/images/, path2/images/]
train
:
../VOC/images/train/
# 16551 images
val
:
../VOC/images/val/
# 4952 images
# number of classes
nc
:
20
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论