<div align="center">
<p>
<a align="left" href="https://ultralytics.com/yolov5" target="_blank">
<img width="850" src="https://github.com/ultralytics/yolov5/releases/download/v1.0/splash.jpg"></a>
</p>
English | [绠�浣撲腑鏂嘳(.github/README_cn.md)
<br>
<div>
<a href="https://github.com/ultralytics/yolov5/actions/workflows/ci-testing.yml"><img src="https://github.com/ultralytics/yolov5/actions/workflows/ci-testing.yml/badge.svg" alt="CI CPU testing"></a>
<a href="https://zenodo.org/badge/latestdoi/264818686"><img src="https://zenodo.org/badge/264818686.svg" alt="YOLOv5 Citation"></a>
<a href="https://hub.docker.com/r/ultralytics/yolov5"><img src="https://img.shields.io/docker/pulls/ultralytics/yolov5?logo=docker" alt="Docker Pulls"></a>
<br>
<a href="https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"></a>
<a href="https://www.kaggle.com/ultralytics/yolov5"><img src="https://kaggle.com/static/images/open-in-kaggle.svg" alt="Open In Kaggle"></a>
<a href="https://join.slack.com/t/ultralytics/shared_invite/zt-w29ei8bp-jczz7QYUmDtgo6r6KcMIAg"><img src="https://img.shields.io/badge/Slack-Join_Forum-blue.svg?logo=slack" alt="Join Forum"></a>
</div>
<br>
<p>
YOLOv5 馃殌 is a family of object detection architectures and models pretrained on the COCO dataset, and represents <a href="https://ultralytics.com">Ultralytics</a>
open-source research into future vision AI methods, incorporating lessons learned and best practices evolved over thousands of hours of research and development.
</p>
<div align="center">
<a href="https://github.com/ultralytics">
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-github.png" width="2%"/>
</a>
<img width="2%" />
<a href="https://www.linkedin.com/company/ultralytics">
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-linkedin.png" width="2%"/>
</a>
<img width="2%" />
<a href="https://twitter.com/ultralytics">
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-twitter.png" width="2%"/>
</a>
<img width="2%" />
<a href="https://www.producthunt.com/@glenn_jocher">
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-producthunt.png" width="2%"/>
</a>
<img width="2%" />
<a href="https://youtube.com/ultralytics">
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-youtube.png" width="2%"/>
</a>
<img width="2%" />
<a href="https://www.facebook.com/ultralytics">
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-facebook.png" width="2%"/>
</a>
<img width="2%" />
<a href="https://www.instagram.com/ultralytics/">
<img src="https://github.com/ultralytics/yolov5/releases/download/v1.0/logo-social-instagram.png" width="2%"/>
</a>
</div>
<!--
<a align="center" href="https://ultralytics.com/yolov5" target="_blank">
<img width="800" src="https://github.com/ultralytics/yolov5/releases/download/v1.0/banner-api.png"></a>
-->
</div>
## <div align="center">Documentation</div>
See the [YOLOv5 Docs](https://docs.ultralytics.com) for full documentation on training, testing and deployment.
## <div align="center">Quick Start Examples</div>
<details open>
<summary>Install</summary>
Clone repo and install [requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) in a
[**Python>=3.7.0**](https://www.python.org/) environment, including
[**PyTorch>=1.7**](https://pytorch.org/get-started/locally/).
```bash
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
```
</details>
<details open>
<summary>Inference</summary>
YOLOv5 [PyTorch Hub](https://github.com/ultralytics/yolov5/issues/36) inference. [Models](https://github.com/ultralytics/yolov5/tree/master/models) download automatically from the latest
YOLOv5 [release](https://github.com/ultralytics/yolov5/releases).
```python
import torch
# Model
model = torch.hub.load('ultralytics/yolov5', 'yolov5s') # or yolov5n - yolov5x6, custom
# Images
img = 'https://ultralytics.com/images/zidane.jpg' # or file, Path, PIL, OpenCV, numpy, list
# Inference
results = model(img)
# Results
results.print() # or .show(), .save(), .crop(), .pandas(), etc.
```
</details>
<details>
<summary>Inference with detect.py</summary>
`detect.py` runs inference on a variety of sources, downloading [models](https://github.com/ultralytics/yolov5/tree/master/models) automatically from
the latest YOLOv5 [release](https://github.com/ultralytics/yolov5/releases) and saving results to `runs/detect`.
```bash
python detect.py --source 0 # webcam
img.jpg # image
vid.mp4 # video
path/ # directory
path/*.jpg # glob
'https://youtu.be/Zgi9g1ksQHc' # YouTube
'rtsp://example.com/media.mp4' # RTSP, RTMP, HTTP stream
```
</details>
<details>
<summary>Training</summary>
The commands below reproduce YOLOv5 [COCO](https://github.com/ultralytics/yolov5/blob/master/data/scripts/get_coco.sh)
results. [Models](https://github.com/ultralytics/yolov5/tree/master/models)
and [datasets](https://github.com/ultralytics/yolov5/tree/master/data) download automatically from the latest
YOLOv5 [release](https://github.com/ultralytics/yolov5/releases). Training times for YOLOv5n/s/m/l/x are
1/2/4/6/8 days on a V100 GPU ([Multi-GPU](https://github.com/ultralytics/yolov5/issues/475) times faster). Use the
largest `--batch-size` possible, or pass `--batch-size -1` for
YOLOv5 [AutoBatch](https://github.com/ultralytics/yolov5/pull/5092). Batch sizes shown for V100-16GB.
```bash
python train.py --data coco.yaml --cfg yolov5n.yaml --weights '' --batch-size 128
yolov5s 64
yolov5m 40
yolov5l 24
yolov5x 16
```
<img width="800" src="https://user-images.githubusercontent.com/26833433/90222759-949d8800-ddc1-11ea-9fa1-1c97eed2b963.png">
</details>
<details open>
<summary>Tutorials</summary>
- [Train Custom Data](https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data)聽 馃殌 RECOMMENDED
- [Tips for Best Training Results](https://github.com/ultralytics/yolov5/wiki/Tips-for-Best-Training-Results)聽 鈽橈笍
RECOMMENDED
- [Weights & Biases Logging](https://github.com/ultralytics/yolov5/issues/1289)聽 馃専 NEW
- [Roboflow for Datasets, Labeling, and Active Learning](https://github.com/ultralytics/yolov5/issues/4975)聽 馃専 NEW
- [Multi-GPU Training](https://github.com/ultralytics/yolov5/issues/475)
- [PyTorch Hub](https://github.com/ultralytics/yolov5/issues/36)聽 猸� NEW
- [TFLite, ONNX, CoreML, TensorRT Export](https://github.com/ultralytics/yolov5/issues/251) 馃殌
- [Test-Time Augmentation (TTA)](https://github.com/ultralytics/yolov5/issues/303)
- [Model Ensembling](https://github.com/ultralytics/yolov5/issues/318)
- [Model Pruning/Sparsity](https://github.com/ultralytics/yolov5/issues/304)
- [Hyperparameter Evolution](https://github.com/ultralytics/yolov5/issues/607)
- [Transfer Learning with Frozen Layers](https://github.com/ultralytics/yolov5/issues/1314)聽 猸� NEW
- [Architecture Summary](https://github.com/ultralytics/yolov5/issues/6998)聽 猸� NEW
</details>
## <div align="center">Environments</div>
Get started in seconds with our verified environments. Click each icon below for details.
<div align="center">
<a href="https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb">
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
项目实战-基于yolov5训练的吸烟检测模型 (340个子文件)
v7.0 41B
events.out.tfevents.1657849173.notebook-8e8bf54a-8f5f-492a-9030-b2fdcfb87ff9-worker-0.1533.0 40B
0171ac49bc7865e31cbfd19dbaff40653e915d 167B
04482e567a278dbe340d3aa703aa4f7045e06e 90B
0589a4fe749aafe34c1bb51a1b91112d119ae2 658B
0980672db8d87c634007b127a9a308aafa689e 175B
0d151c243338cae63906c0ca66f0f99834de90 166B
10aabc9036921a6f88428e1f967e17e5b934f6 7KB
156124db4b72a802bd6d9387ba0661e8ec32e6 658B
16b1fbad32e7186077c6c85a3fd6aa11e0ee1b 658B
18269243ed981f034601241137a9f4a33c83b6 7KB
18eaf5fbf7487b308a982ba22d2cf506d3f84a 623B
1a78ddc5033625db7a8f9f9188f02b0c30d41e 7KB
1aa1e29db997608b711fa756b8bb9d84203861 658B
1e7ab90f274354f0dfb88f30f93d96d5c89870 7KB
v6.2 41B
2368dc62713c8f383a36837907b4d6a08fc863 6KB
249423441157b23fadcc782c8e37b6c8e9d834 657B
26341960ff62dc9b559793a8d4e221357d9694 170B
284d6529eb121aa1ffc3afead42ac1ffa43290 565B
290ecd472fee2382c7b79e47bcc10811334da4 7KB
29915f028d6d8b481ce538db788fb43330a8fc 9KB
29cf52937b5a81aa04122caa259a0f6411dd1e 202B
2a22c36f1ae260752a7fbed85242076dfc1053 6KB
2a319b7c781e047906fad589e16dd883cf4567 7KB
2b96637a07fbb39df12ec63065c8b2aa9269b4 186B
2c33d9da2e8d7b0f06b5b933ba4270e3f5c11f 7KB
2c7e9a66a662b112051856bf6a5b7ac727ed02 227B
2dd369a049df3dd45ae36d88ffdcb9d28bedfd 12KB
2e0d5d424809eb08b339b9c9a1187ae7a03a6c 166B
2f4d0a548cdbe707004c8469b5c472428025cc 7KB
324e8f39327c39c71853bf1e59456ecf6c6cf5 656B
33ca505cb4240b1aca22c98dbc4afe03b6e403 651B
3440879a98fb17dbdb627ac57f554780f4a622 168B
3726565a55e9dc7729ed5efcee8dfbf8fafe6d 656B
37abe68ccf36c055786628661565b1df375069 657B
3f4268e1f353d78761f23b54ad5a7fa27d74d0 7KB
463bf5642376bd5fb5e476e652870ba0683a53 12KB
48f67b5a48f386826086447362073c80c107aa 564B
4a2a0b8ff9e86e30d317634f9b82b9e2f41ffc 176B
4ac7f3c8b64e7583c42736e03f265e9029314b 167B
4ed79f7f8d5256eab2f878a4b601d37be02a9b 623B
520e4d4d1b50762d4196f95a621db80300dbdc 174B
578bcfe2534270a0d47d37677ce5b74d9b504f 658B
5a9c4c7d1d16b4d61e79962039bedbfbd2131c 192B
5ca500b9f30e90cc5e7e7ad8acbf73cfe20435 16KB
5d80ba91e0935333afd11b010ff50cdaf0131c 650B
5f40caa50191dc53221ca43ad2d64c2fe07329 87B
66cc2de3c8a7a7a6467870af7462ceb50b3e91 165B
6705991d1ad712ac9cfea8f885fe35bd002663 658B
671cf138e7f0246339cfe7ba27ae39732e547e 7KB
676fc6577723fe81920025a06e62af580166e5 656B
680c439c0f182953c19dab894a251a35ec2b04 348B
6a7b906184dfe8a7a9f4e27980677659da8e18 650B
6be3bf88060656f269b518c4b573893be06520 167B
6e32ee24b27180a102e0e7749453bd07f93558 167B
709319c1e0d034de04a317f794bbe6e9c17c3e 168B
75d7b5ffa92e50a190febe0e9bff5ff49b8b0a 659B
7bd24e5f3a119b24ae7b32e6f1b9c20aada954 12KB
7cf7d5ddb24a19b0463c3a58167f81b43fd583 7KB
8870e27bcf6edad9e342f096a220bcfaf013a5 656B
890f9e6f733d6f7441aecf69392c5d6c73e442 219B
8ef9a0e7ff0cfccaeaeabe954cd913f436b0b2 169B
9479707a204eb27fd03e9979b654a46795c66b 7KB
959131e0b4e54afc014ebac494d4a7306a9069 196B
967bf92c7e1dd990602cfe61e8bde1e13b944c 3KB
98692b7335ed03deca8e47624b5b69127230e2 12KB
9c9f64a85bf87b0c91032f06403a563db692d3 7KB
9fe372edd8296e6b450270fce15658d7e6c0f9 657B
a9783d215c2e81239141bdbf32868a699bcad4 621B
adff5bad3380c48dda85ef1fc18d563686523f 624B
af88fdfa5448e41dd23da69b69ab5123251127 7KB
afe71f4b925049042a49f0f5437bf381b44619 7KB
b990f6525dc76eaff125c9004ea14335d25c44 88B
ba0d479bdd7c2dab69236032d79fec4d64832b 622B
benchmarks 191B
benchmarks 41B
c14e224f011479198ccf2da7068ec8a041d10c 657B
c265dcc7507703d1f36a23354bec30b0287801 166B
caa00b787f96a9a793f897789f840c992f276c 12KB
train.cache 842KB
val.cache 230KB
cceedd32a0a4559825d1628cf1f3e10e9b324f 176B
cd5f4c8515672b024bed39915cfda5590680a3 658B
cd7f691a756c7bf2fcc13e03230e5da51ca94b 167B
ce7d4b1e4ae51d314c4575378495d10049cffc 12KB
cee122f4bf8eb04d6034ea2e440a6a3125647a 651B
cf93ebff62a2c99dc83654c1adca941ad6bdbf 4KB
cfd809a3bc76f44f1a46606e2a962c82f8315b 167B
setup.cfg 2KB
classifier 764B
classifier 41B
cls-album 191B
cls-album 41B
config 262B
results.csv 53KB
results-checkpoint.csv 7KB
d04f6607667f275e0dbdc3a186801b5d6b1622 659B
d1191aa60cef4db2bb31264d618d9d608c9088 651B
d285a151d0ea26e487505c8ecf1dc40709b003 196B
共 340 条
- 1
- 2
- 3
- 4
资源评论
白衣城
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功