首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

yolov5的python代码

人工智能 15.91MB 3 需要积分: 1
立即下载

资源介绍:

yolov5的标准python代码,其中包括了训练和推理代码。

[English](README.md) | [简体中文](README.zh-CN.md)
YOLOv5 CI YOLOv5 Citation Docker Pulls
Run on Gradient Open In Colab Open In Kaggle

YOLOv5 🚀 is the world's most loved vision AI, representing Ultralytics open-source research into future vision AI methods, incorporating lessons learned and best practices evolved over thousands of hours of research and development. We hope that the resources here will help you get the most out of YOLOv5. Please browse the YOLOv5 Docs for details, raise an issue on GitHub for support, and join our Discord community for questions and discussions! To request an Enterprise License please complete the form at [Ultralytics Licensing](https://ultralytics.com/license).
Ultralytics GitHub Ultralytics LinkedIn Ultralytics Twitter Ultralytics YouTube Ultralytics TikTok Ultralytics Instagram Ultralytics Discord

##
YOLOv8 🚀 NEW
We are thrilled to announce the launch of Ultralytics YOLOv8 🚀, our NEW cutting-edge, state-of-the-art (SOTA) model released at **[https://github.com/ultralytics/ultralytics](https://github.com/ultralytics/ultralytics)**. YOLOv8 is designed to be fast, accurate, and easy to use, making it an excellent choice for a wide range of object detection, image segmentation and image classification tasks. See the [YOLOv8 Docs](https://docs.ultralytics.com) for details and get started with: [![PyPI version](https://badge.fury.io/py/ultralytics.svg)](https://badge.fury.io/py/ultralytics) [![Downloads](https://static.pepy.tech/badge/ultralytics)](https://pepy.tech/project/ultralytics) ```bash pip install ultralytics ``` ##
Documentation
See the [YOLOv5 Docs](https://docs.ultralytics.com/yolov5) for full documentation on training, testing and deployment. See below for quickstart examples.
Install Clone repo and install [requirements.txt](https://github.com/ultralytics/yolov5/blob/master/requirements.txt) in a [**Python>=3.8.0**](https://www.python.org/) environment, including [**PyTorch>=1.8**](https://pytorch.org/get-started/locally/). ```bash git clone https://github.com/ultralytics/yolov5 # clone cd yolov5 pip install -r requirements.txt # install ```
Inference YOLOv5 [PyTorch Hub](https://docs.ultralytics.com/yolov5/tutorials/pytorch_hub_model_loading) 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. ```
Inference with detect.py `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 --weights yolov5s.pt --source 0 # webcam img.jpg # image vid.mp4 # video screen # screenshot path/ # directory list.txt # list of images list.streams # list of streams 'path/*.jpg' # glob 'https://youtu.be/LNwODJXcvt4' # YouTube 'rtsp://example.com/media.mp4' # RTSP, RTMP, HTTP stream ```
Training 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/

资源文件列表:

yolov5.zip 大约有215个文件
  1. yolov5/
  2. yolov5/classify/
  3. yolov5/LICENSE 33.71KB
  4. yolov5/requirements.txt 1.53KB
  5. yolov5/.pre-commit-config.yaml 1.77KB
  6. yolov5/CITATION.cff 393B
  7. yolov5/val.py 20.1KB
  8. yolov5/segment/
  9. yolov5/utils/
  10. yolov5/models/
  11. yolov5/export.py 40.31KB
  12. yolov5/README.md 40.62KB
  13. yolov5/.dockerignore 3.61KB
  14. yolov5/.gitignore 3.9KB
  15. yolov5/CONTRIBUTING.md 4.89KB
  16. yolov5/.github/
  17. yolov5/.gitattributes 75B
  18. yolov5/train.py 33.09KB
  19. yolov5/README.zh-CN.md 39.66KB
  20. yolov5/setup.cfg 1.68KB
  21. yolov5/hubconf.py 7.59KB
  22. yolov5/.git/
  23. yolov5/data/
  24. yolov5/detect.py 15KB
  25. yolov5/benchmarks.py 7.82KB
  26. yolov5/tutorial.ipynb 39.99KB
  27. yolov5/.idea/
  28. yolov5/classify/val.py 7.89KB
  29. yolov5/classify/predict.py 11.5KB
  30. yolov5/classify/train.py 16.01KB
  31. yolov5/classify/tutorial.ipynb 101.23KB
  32. yolov5/segment/val.py 23.43KB
  33. yolov5/segment/predict.py 15.42KB
  34. yolov5/segment/train.py 33.93KB
  35. yolov5/segment/tutorial.ipynb 42.42KB
  36. yolov5/utils/metrics.py 14.23KB
  37. yolov5/utils/docker/
  38. yolov5/utils/loggers/
  39. yolov5/utils/triton.py 3.55KB
  40. yolov5/utils/activations.py 3.37KB
  41. yolov5/utils/autobatch.py 2.92KB
  42. yolov5/utils/google_app_engine/
  43. yolov5/utils/dataloaders.py 54.5KB
  44. yolov5/utils/segment/
  45. yolov5/utils/__init__.py 2.58KB
  46. yolov5/utils/downloads.py 4.83KB
  47. yolov5/utils/loss.py 9.69KB
  48. yolov5/utils/plots.py 18.28KB
  49. yolov5/utils/callbacks.py 2.6KB
  50. yolov5/utils/aws/
  51. yolov5/utils/flask_rest_api/
  52. yolov5/utils/autoanchor.py 7.25KB
  53. yolov5/utils/torch_utils.py 19.18KB
  54. yolov5/utils/general.py 44.64KB
  55. yolov5/utils/augmentations.py 16.63KB
  56. yolov5/models/yolov5s.yaml 1.37KB
  57. yolov5/models/experimental.py 4.18KB
  58. yolov5/models/tf.py 26.39KB
  59. yolov5/models/segment/
  60. yolov5/models/yolov5l.yaml 1.37KB
  61. yolov5/models/yolov5m.yaml 1.37KB
  62. yolov5/models/__init__.py
  63. yolov5/models/yolov5x.yaml 1.37KB
  64. yolov5/models/yolov5n.yaml 1.37KB
  65. yolov5/models/common.py 41.06KB
  66. yolov5/models/yolo.py 17.37KB
  67. yolov5/models/hub/
  68. yolov5/.github/workflows/
  69. yolov5/.github/PULL_REQUEST_TEMPLATE.md 774B
  70. yolov5/.github/ISSUE_TEMPLATE/
  71. yolov5/.github/dependabot.yml 441B
  72. yolov5/.git/config 311B
  73. yolov5/.git/objects/
  74. yolov5/.git/HEAD 23B
  75. yolov5/.git/info/
  76. yolov5/.git/logs/
  77. yolov5/.git/description 73B
  78. yolov5/.git/hooks/
  79. yolov5/.git/refs/
  80. yolov5/.git/index 13.2KB
  81. yolov5/.git/packed-refs 1.78KB
  82. yolov5/data/hyps/
  83. yolov5/data/coco128.yaml 1.81KB
  84. yolov5/data/coco.yaml 2.44KB
  85. yolov5/data/coco128-seg.yaml 1.83KB
  86. yolov5/data/images/
  87. yolov5/data/GlobalWheat2020.yaml 1.84KB
  88. yolov5/data/VisDrone.yaml 2.9KB
  89. yolov5/data/SKU-110K.yaml 2.29KB
  90. yolov5/data/Objects365.yaml 8.99KB
  91. yolov5/data/xView.yaml 5.05KB
  92. yolov5/data/scripts/
  93. yolov5/data/Argoverse.yaml 2.67KB
  94. yolov5/data/ImageNet.yaml 18.43KB
  95. yolov5/data/VOC.yaml 3.41KB
  96. yolov5/.idea/yolov5.iml 441B
  97. yolov5/.idea/inspectionProfiles/
  98. yolov5/.idea/vcs.xml 180B
  99. yolov5/.idea/.gitignore 47B
  100. yolov5/.idea/workspace.xml 1.79KB
  101. yolov5/.idea/modules.xml 264B
  102. yolov5/utils/docker/Dockerfile-arm64 1.53KB
  103. yolov5/utils/docker/Dockerfile 2.5KB
  104. yolov5/utils/docker/Dockerfile-cpu 1.79KB
  105. yolov5/utils/loggers/__init__.py 16.1KB
  106. yolov5/utils/loggers/comet/
  107. yolov5/utils/loggers/clearml/
  108. yolov5/utils/loggers/wandb/
  109. yolov5/utils/google_app_engine/app.yaml 174B
  110. yolov5/utils/google_app_engine/Dockerfile 821B
  111. yolov5/utils/google_app_engine/additional_requirements.txt 187B
  112. yolov5/utils/segment/metrics.py 5.33KB
  113. yolov5/utils/segment/dataloaders.py 13.51KB
  114. yolov5/utils/segment/__init__.py
  115. yolov5/utils/segment/loss.py 8.39KB
  116. yolov5/utils/segment/plots.py 6.24KB
  117. yolov5/utils/segment/general.py 5.68KB
  118. yolov5/utils/segment/augmentations.py 3.67KB
  119. yolov5/utils/aws/resume.py 1.17KB
  120. yolov5/utils/aws/userdata.sh 1.22KB
  121. yolov5/utils/aws/__init__.py
  122. yolov5/utils/aws/mime.sh 780B
  123. yolov5/utils/flask_rest_api/example_request.py 369B
  124. yolov5/utils/flask_rest_api/README.md 1.67KB
  125. yolov5/utils/flask_rest_api/restapi.py 1.41KB
  126. yolov5/models/segment/yolov5s-seg.yaml 1.38KB
  127. yolov5/models/segment/yolov5x-seg.yaml 1.38KB
  128. yolov5/models/segment/yolov5l-seg.yaml 1.38KB
  129. yolov5/models/segment/yolov5m-seg.yaml 1.38KB
  130. yolov5/models/segment/yolov5n-seg.yaml 1.38KB
  131. yolov5/models/hub/anchors.yaml 3.26KB
  132. yolov5/models/hub/yolov5s-ghost.yaml 1.45KB
  133. yolov5/models/hub/yolov5x6.yaml 1.78KB
  134. yolov5/models/hub/yolov3-spp.yaml 1.53KB
  135. yolov5/models/hub/yolov5-panet.yaml 1.38KB
  136. yolov5/models/hub/yolov5-bifpn.yaml 1.39KB
  137. yolov5/models/hub/yolov5-p2.yaml 1.65KB
  138. yolov5/models/hub/yolov5-fpn.yaml 1.19KB
  139. yolov5/models/hub/yolov5s6.yaml 1.78KB
  140. yolov5/models/hub/yolov5l6.yaml 1.78KB
  141. yolov5/models/hub/yolov3-tiny.yaml 1.2KB
  142. yolov5/models/hub/yolov3.yaml 1.52KB
  143. yolov5/models/hub/yolov5n6.yaml 1.78KB
  144. yolov5/models/hub/yolov5-p7.yaml 2.07KB
  145. yolov5/models/hub/yolov5s-LeakyReLU.yaml 1.46KB
  146. yolov5/models/hub/yolov5-p34.yaml 1.32KB
  147. yolov5/models/hub/yolov5m6.yaml 1.78KB
  148. yolov5/models/hub/yolov5s-transformer.yaml 1.41KB
  149. yolov5/models/hub/yolov5-p6.yaml 1.7KB
  150. yolov5/.github/workflows/links.yml 2.03KB
  151. yolov5/.github/workflows/codeql-analysis.yml 2.02KB
  152. yolov5/.github/workflows/stale.yml 2.31KB
  153. yolov5/.github/workflows/translate-readme.yml 708B
  154. yolov5/.github/workflows/greetings.yml 5.38KB
  155. yolov5/.github/workflows/docker.yml 1.67KB
  156. yolov5/.github/workflows/ci-testing.yml 7.52KB
  157. yolov5/.github/ISSUE_TEMPLATE/bug-report.yml 2.85KB
  158. yolov5/.github/ISSUE_TEMPLATE/config.yml 360B
  159. yolov5/.github/ISSUE_TEMPLATE/feature-request.yml 1.74KB
  160. yolov5/.github/ISSUE_TEMPLATE/question.yml 1.12KB
  161. yolov5/.git/objects/pack/
  162. yolov5/.git/objects/info/
  163. yolov5/.git/info/exclude 240B
  164. yolov5/.git/logs/HEAD 183B
  165. yolov5/.git/logs/refs/
  166. yolov5/.git/hooks/commit-msg.sample 896B
  167. yolov5/.git/hooks/pre-rebase.sample 4.78KB
  168. yolov5/.git/hooks/pre-commit.sample 1.6KB
  169. yolov5/.git/hooks/applypatch-msg.sample 478B
  170. yolov5/.git/hooks/fsmonitor-watchman.sample 4.62KB
  171. yolov5/.git/hooks/pre-receive.sample 544B
  172. yolov5/.git/hooks/prepare-commit-msg.sample 1.46KB
  173. yolov5/.git/hooks/post-update.sample 189B
  174. yolov5/.git/hooks/pre-merge-commit.sample 416B
  175. yolov5/.git/hooks/pre-applypatch.sample 424B
  176. yolov5/.git/hooks/pre-push.sample 1.34KB
  177. yolov5/.git/hooks/update.sample 3.56KB
  178. yolov5/.git/hooks/push-to-checkout.sample 2.72KB
  179. yolov5/.git/refs/heads/
  180. yolov5/.git/refs/tags/
  181. yolov5/.git/refs/remotes/
  182. yolov5/data/hyps/hyp.VOC.yaml 1.13KB
  183. yolov5/data/hyps/hyp.Objects365.yaml 674B
  184. yolov5/data/hyps/hyp.no-augmentation.yaml 1.64KB
  185. yolov5/data/hyps/hyp.scratch-low.yaml 1.65KB
  186. yolov5/data/hyps/hyp.scratch-med.yaml 1.65KB
  187. yolov5/data/hyps/hyp.scratch-high.yaml 1.64KB
  188. yolov5/data/images/zidane.jpg 164.99KB
  189. yolov5/data/images/bus.jpg 476.01KB
  190. yolov5/data/scripts/get_coco.sh 1.53KB
  191. yolov5/data/scripts/get_imagenet.sh 1.63KB
  192. yolov5/data/scripts/download_weights.sh 641B
  193. yolov5/data/scripts/get_coco128.sh 619B
  194. yolov5/.idea/inspectionProfiles/profiles_settings.xml 174B
  195. yolov5/utils/loggers/comet/optimizer_config.json 2.95KB
  196. yolov5/utils/loggers/comet/__init__.py 18.49KB
  197. yolov5/utils/loggers/comet/comet_utils.py 4.64KB
  198. yolov5/utils/loggers/comet/README.md 10.56KB
  199. yolov5/utils/loggers/comet/hpo.py 6.5KB
  200. yolov5/utils/loggers/clearml/__init__.py
  201. yolov5/utils/loggers/clearml/README.md 10.61KB
  202. yolov5/utils/loggers/clearml/clearml_utils.py 7.86KB
  203. yolov5/utils/loggers/clearml/hpo.py 5.15KB
  204. yolov5/utils/loggers/wandb/__init__.py
  205. yolov5/utils/loggers/wandb/wandb_utils.py 8.06KB
  206. yolov5/.git/objects/pack/pack-45687e64e39b3937725dcb25c6d4ad5b7e97c69e.pack 14.69MB
  207. yolov5/.git/objects/pack/pack-45687e64e39b3937725dcb25c6d4ad5b7e97c69e.idx 440KB
  208. yolov5/.git/logs/refs/heads/
  209. yolov5/.git/logs/refs/remotes/
  210. yolov5/.git/refs/heads/master 41B
  211. yolov5/.git/refs/remotes/origin/
  212. yolov5/.git/logs/refs/heads/master 183B
  213. yolov5/.git/logs/refs/remotes/origin/
  214. yolov5/.git/refs/remotes/origin/HEAD 32B
  215. yolov5/.git/logs/refs/remotes/origin/HEAD 183B
0评论
提交 加载更多评论
其他资源 vivado平台上对于FFT IP核的测试与使用
vivado平台上对于FFT IP核的测试与使用
notes11111.zip
notes11111.zip
node.js项目,一个慈善系统项目 有关慈善活动捐款等
node.js项目,一个慈善系统项目 有关慈善活动捐款等
系统源码大学数据库课程设计实验课实现内容
数据库课程设计
Project_MEGA2560_Poaoz.zip
Project_MEGA2560_Poaoz.zip
1(2) (2) (2).zip
1(2) (2) (2).zip
EXE一机一码打包加密大师1.5.0 (解压密码1234)
EXE一机一码打包加密大师最新版1.5.0, 支持网络验证, 给EXE添加卡密. EXE一机一码打包加密大师是一款功能强大的工具,用于保护和加密EXE文件。支持一机一码离线加密, 一机一码网络验证加密, 支持给EXE添加卡密, 添加授权信息等, 方便制作加密EXE文件. 1.5.0最新版本新增了网络验证功能, 并修复了一些问题, 使得加密EXE更加稳定, 保护效果更佳.
masm5.0-dosbox0.74-MasmForWindows.zip
masm5.0 dosbox0.74 masm for windows.rar
masm5.0-dosbox0.74-MasmForWindows.zip masm5.0-dosbox0.74-MasmForWindows.zip