<a align="left" href="https://apps.apple.com/app/id1452689527" target="_blank">
<img width="800" src="https://user-images.githubusercontent.com/26833433/98699617-a1595a00-2377-11eb-8145-fc674eb9b1a7.jpg"></a>
 
<a href="https://github.com/ultralytics/yolov5/actions"><img src="https://github.com/ultralytics/yolov5/workflows/CI%20CPU%20testing/badge.svg" alt="CI CPU testing"></a>
This repository represents Ultralytics open-source research into future object detection methods, and incorporates lessons learned and best practices evolved over thousands of hours of training and evolution on anonymized client datasets. **All code and models are under active development, and are subject to modification or deletion without notice.** Use at your own risk.
<p align="left"><img width="800" src="https://user-images.githubusercontent.com/26833433/114313216-f0a5e100-9af5-11eb-8445-c682b60da2e3.png"></p>
<details>
<summary>YOLOv5-P5 640 Figure (click to expand)</summary>
<p align="left"><img width="800" src="https://user-images.githubusercontent.com/26833433/114313219-f1d70e00-9af5-11eb-9973-52b1f98d321a.png"></p>
</details>
<details>
<summary>Figure Notes (click to expand)</summary>
* GPU Speed measures end-to-end time per image averaged over 5000 COCO val2017 images using a V100 GPU with batch size 32, and includes image preprocessing, PyTorch FP16 inference, postprocessing and NMS.
* EfficientDet data from [google/automl](https://github.com/google/automl) at batch size 8.
* **Reproduce** by `python test.py --task study --data coco.yaml --iou 0.7 --weights yolov5s6.pt yolov5m6.pt yolov5l6.pt yolov5x6.pt`
</details>
- **April 11, 2021**: [v5.0 release](https://github.com/ultralytics/yolov5/releases/tag/v5.0): YOLOv5-P6 1280 models, [AWS](https://github.com/ultralytics/yolov5/wiki/AWS-Quickstart), [Supervise.ly](https://github.com/ultralytics/yolov5/issues/2518) and [YouTube](https://github.com/ultralytics/yolov5/pull/2752) integrations.
- **January 5, 2021**: [v4.0 release](https://github.com/ultralytics/yolov5/releases/tag/v4.0): nn.SiLU() activations, [Weights & Biases](https://wandb.ai/site?utm_campaign=repo_yolo_readme) logging, [PyTorch Hub](https://pytorch.org/hub/ultralytics_yolov5/) integration.
- **August 13, 2020**: [v3.0 release](https://github.com/ultralytics/yolov5/releases/tag/v3.0): nn.Hardswish() activations, data autodownload, native AMP.
- **July 23, 2020**: [v2.0 release](https://github.com/ultralytics/yolov5/releases/tag/v2.0): improved model definition, training and mAP.
## Pretrained Checkpoints
[assets]: https://github.com/ultralytics/yolov5/releases
Model |size<br><sup>(pixels) |mAP<sup>val<br>0.5:0.95 |mAP<sup>test<br>0.5:0.95 |mAP<sup>val<br>0.5 |Speed<br><sup>V100 (ms) | |params<br><sup>(M) |FLOPS<br><sup>640 (B)
--- |--- |--- |--- |--- |--- |---|--- |---
[YOLOv5s][assets] |640 |36.7 |36.7 |55.4 |**2.0** | |7.3 |17.0
[YOLOv5m][assets] |640 |44.5 |44.5 |63.1 |2.7 | |21.4 |51.3
[YOLOv5l][assets] |640 |48.2 |48.2 |66.9 |3.8 | |47.0 |115.4
[YOLOv5x][assets] |640 |**50.4** |**50.4** |**68.8** |6.1 | |87.7 |218.8
| | | | | | || |
[YOLOv5s6][assets] |1280 |43.3 |43.3 |61.9 |**4.3** | |12.7 |17.4
[YOLOv5m6][assets] |1280 |50.5 |50.5 |68.7 |8.4 | |35.9 |52.4
[YOLOv5l6][assets] |1280 |53.4 |53.4 |71.1 |12.3 | |77.2 |117.7
[YOLOv5x6][assets] |1280 |**54.4** |**54.4** |**72.0** |22.4 | |141.8 |222.9
| | | | | | || |
[YOLOv5x6][assets] TTA |1280 |**55.0** |**55.0** |**72.0** |70.8 | |- |-
<details>
<summary>Table Notes (click to expand)</summary>
* AP<sup>test</sup> denotes COCO [test-dev2017](http://cocodataset.org/#upload) server results, all other AP results denote val2017 accuracy.
* AP values are for single-model single-scale unless otherwise noted. **Reproduce mAP** by `python test.py --data coco.yaml --img 640 --conf 0.001 --iou 0.65`
* Speed<sub>GPU</sub> averaged over 5000 COCO val2017 images using a GCP [n1-standard-16](https://cloud.google.com/compute/docs/machine-types#n1_standard_machine_types) V100 instance, and includes FP16 inference, postprocessing and NMS. **Reproduce speed** by `python test.py --data coco.yaml --img 640 --conf 0.25 --iou 0.45`
* All checkpoints are trained to 300 epochs with default settings and hyperparameters (no autoaugmentation).
* Test Time Augmentation ([TTA](https://github.com/ultralytics/yolov5/issues/303)) includes reflection and scale augmentation. **Reproduce TTA** by `python test.py --data coco.yaml --img 1536 --iou 0.7 --augment`
</details>
## Requirements
Python 3.8 or later with all [requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) dependencies installed, including `torch>=1.7`. To install run:
<!-- $ sudo apt update && apt install -y libgl1-mesa-glx libsm6 libxext6 libxrender-dev -->
```bash
$ pip install -r requirements.txt
```
## Tutorials
* [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
* [Supervisely Ecosystem](https://github.com/ultralytics/yolov5/issues/2518) ð NEW
* [Multi-GPU Training](https://github.com/ultralytics/yolov5/issues/475)
* [PyTorch Hub](https://github.com/ultralytics/yolov5/issues/36) â NEW
* [ONNX and TorchScript 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
* [TensorRT Deployment](https://github.com/wang-xinyu/tensorrtx)
## Environments
YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including [CUDA](https://developer.nvidia.com/cuda)/[CUDNN](https://developer.nvidia.com/cudnn), [Python](https://www.python.org/) and [PyTorch](https://pytorch.org/) preinstalled):
- **Google Colab and Kaggle** notebooks with free GPU: <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>
- **Google Cloud** Deep Learning VM. See [GCP Quickstart Guide](https://github.com/ultralytics/yolov5/wiki/GCP-Quickstart)
- **Amazon** Deep Learning AMI. See [AWS Quickstart Guide](https://github.com/ultralytics/yolov5/wiki/AWS-Quickstart)
- **Docker Image**. See [Docker Quickstart Guide](https://github.com/ultralytics/yolov5/wiki/Docker-Quickstart) <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>
## Inference
`detect.py` runs inference on a variety of sources, downloading 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
file.jpg # image
file.mp4 # video
path/ # directory
path/*.jpg # glob
'https://youtu.be/NUsoVlDFqZg' # YouTube video
'rtsp://example.com/media.mp4' # RTSP, RTM
没有合适的资源?快使用搜索试试~ 我知道了~
程序设计大作业基于yolov5的人脸识别检测器源代码+模型+使用说明,可实现识别视频中人物的性别、年龄,以及人流总数的功能
共155个文件
py:54个
yaml:20个
yml:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 54 浏览量
2024-09-15
10:23:58
上传
评论
收藏 177.74MB ZIP 举报
温馨提示
程序设计大作业---人脸识别检测器,可实现识别视频中人物的性别、年龄,以及人流总数的功能 How to use 1.打开终端,输入并运行以下命令 pip install -r requirements.txt 2.运行下述命令即可 python count.py
资源推荐
资源详情
资源评论
收起资源包目录
程序设计大作业基于yolov5的人脸识别检测器源代码+模型+使用说明,可实现识别视频中人物的性别、年龄,以及人流总数的功能 (155个子文件)
age_net.caffemodel 43.55MB
gender_net.caffemodel 43.53MB
Dockerfile 2KB
Dockerfile 821B
.dockerignore 4KB
.gitattributes 75B
.gitignore 4KB
.gitignore 89B
.gitignore 47B
.gitkeep 0B
xref-gui.html 1.09MB
Yolov5_DeepSort_Traffic-counter-main.iml 556B
tutorial.ipynb 384KB
train.jpg 59KB
LICENSE 34KB
LICENSE 1KB
LICENSE 1KB
gui.exe.manifest 1KB
README.md 11KB
README.md 5KB
bug-report.md 2KB
README.md 1KB
feature-request.md 737B
README.md 571B
question.md 140B
README.md 65B
test.mp4 4.09MB
test2.mp4 2.7MB
test3.mp4 1.25MB
opencv_face_detector_uint8.pb 2.6MB
opencv_face_detector.pbtxt 34KB
gui.pkg 58.64MB
background.png 3.58MB
Detecting age and gender woman1.png 2.08MB
Detecting age and gender man2.png 1.63MB
Detecting age and gender kid2.png 1.19MB
Detecting age and gender kid1.png 1.13MB
Detecting age and gender girl1.png 949KB
Detecting age and gender man1.png 606KB
Detecting age and gender girl2.png 285KB
gender_deploy.prototxt 2KB
age_deploy.prototxt 2KB
yolov5s.pt 12.69MB
datasets.py 44KB
train.py 33KB
general.py 28KB
plots.py 18KB
count.py 17KB
test.py 17KB
common.py 16KB
wandb_utils.py 16KB
yolo.py 13KB
torch_utils.py 12KB
json_logger.py 11KB
loss.py 9KB
detect.py 9KB
metrics.py 9KB
linear_assignment.py 8KB
kalman_filter.py 8KB
autoanchor.py 7KB
train.py 6KB
export.py 6KB
nn_matching.py 5KB
tracker.py 5KB
hubconf.py 5KB
experimental.py 5KB
google_utils.py 5KB
track.py 5KB
io.py 4KB
deep_sort.py 4KB
activations.py 4KB
evaluation.py 3KB
original_model.py 3KB
model.py 3KB
iou_matching.py 3KB
test.py 2KB
preprocessing.py 2KB
feature_extractor.py 2KB
detection.py 1KB
draw.py 1KB
resume.py 1KB
restapi.py 1KB
parser.py 1KB
log_dataset.py 800B
tools.py 734B
__init__.py 500B
log.py 463B
asserts.py 316B
example_request.py 299B
evaluate.py 294B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
pyimod02_importers.pyc 15KB
gui2.cpython-310.pyc 7KB
pyimod01_archive.pyc 5KB
共 155 条
- 1
- 2
资源评论
yanglamei1962
- 粉丝: 2409
- 资源: 751
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 一个基于QT + ffpemg仿网易云UI的音乐播放器项目,支持桌面歌词
- DIB(Deep Image Blending)是一种深度学习技术,用于将多个图像融合在一起,生成高质量的合成图像
- foc,stm32代码aaaaaa
- 蓝牙定位前端111111111111111111111
- 一个简单的用户会话管理系统 这个项目将展示如何使用 Redis 来存储和管理用户的会话信息
- 自动截图工具,自由设定路径,间隔时间,区域
- Unity 是一个非常流行的游戏开发引擎,支持多平台发布,包括 PC、移动设备、游戏主机等
- X2000项目实战入门大纲
- 座舱压力调节器仿真计算及结果分析 上机题
- 华为OD面试题目算法解析与难度评级,社招华为od从机试题目录
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功