当前位置: 首页 > news >正文

网页设计与网站制作电商运营公司简介

网页设计与网站制作,电商运营公司简介,thinkphp 做网站如何,文本网站代码空两格怎么做YoloV11-安装和CLI方式训练模型 1.安装和运行1.1安装的基础环境1.2安装yolo相关组件1.3命令行方式使用1.3.1 训练1.3.2 预测 本文介绍yoloV11的安装和命令行接口 1.安装和运行 1.1安装的基础环境 GPU环境,其中CUDA是12.4版本 1.2安装yolo相关组件 # 克隆github…

YoloV11-安装和CLI方式训练模型

  • 1.安装和运行
    • 1.1安装的基础环境
    • 1.2安装yolo相关组件
    • 1.3命令行方式使用
      • 1.3.1 训练
      • 1.3.2 预测

本文介绍yoloV11的安装和命令行接口

1.安装和运行

1.1安装的基础环境

GPU环境,其中CUDA是12.4版本
在这里插入图片描述

1.2安装yolo相关组件

# 克隆github镜像
git clone https://gitcode.com/gh_mirrors/ul/ultralytics.git
# 创建虚拟环境
conda create  -n yolo11 python=3.12# 激活虚拟环境
conda activate yolo11
# 安装命令行
conda install -c pytorch -c nvidia -c conda-forge pytorch torchvision pytorch-cuda=12.4 ultralytics# 安装后验证可以正常使用显卡,显示True,即正常;否则确认torch支持的CUDA版本和目前显卡的CUDA版本一致
(yolo11) wengad@mathings:~$ python
Python 3.12.8 | packaged by Anaconda, Inc. | (main, Dec 11 2024, 16:31:09) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
True
>>> 

1.3命令行方式使用

安装之后,yolo的命令行接口(CLI ,Command Line Interface)就可以使用了.

直接输入yolo或者yolo help,回显yolo的一些用法,

在这里插入图片描述

yolo [TASK] MODE [ARGS]

  • TASK是YOLO的任务类型,为可选参数,包括了classify分类,OBB(Oriented Bounding
    Box)边界检测,segment实例分割,detect目标检测,pose姿势检测。默认的任务类型是detect。
  • MODE:predict预测,track跟踪,val评估,export导出,benchmark性能评估,train训练。默认是train。
  • ARGS 参数清单,为可选参数,若不指定,则用默认的一些参数值,具体执行yolo
    cfg命令来查看,若指定了某参数的对应值,那么默认值将被重载。参数的指定方式为:参数名=参数值,各个参数空格隔开即可。

1.3.1 训练

# 切换到克隆下来的项目的目录下
cd ultralytics#使用coco数据集进行,yolo11 -n尺度模型进行训练,系统会自动下载coco8的数据集和模型文件,在当前目录下,下载完成后进行自动训练。
yolo train data=coco8.yaml model=yolo11n.pt epochs=10 lr0=0.01

注:数据集(含标注)会下载解压在当前目录的datasets目录下,模型文件会下载在当前目录下,YAML配置本身在clone下来项目的当前目录的./ultralytics/cfg/datasets下

在这里插入图片描述

在这里插入图片描述

1.3.2 预测

# 使用训练过程最好的模型来预测,这里面指定的图片大小会影响检测效果
yolo predict model=./runs/detect/train5/weights/best.pt source=/home/wengad/Downloads/psU1m1h_.jpeg imgsz=1676

用了这张图片,使用变清晰功能后手动下载到本地来预测:https://pics0.baidu.com/feed/5fdf8db1cb13495483c3a17a8d032d54d0094aad.jpeg

图片属性:
在这里插入图片描述检测结果:
在这里插入图片描述

在这里插入图片描述


文章转载自:
http://undissolvable.fcxt.cn
http://arista.fcxt.cn
http://szabadka.fcxt.cn
http://vervain.fcxt.cn
http://isobath.fcxt.cn
http://venospasm.fcxt.cn
http://groundsill.fcxt.cn
http://kentuckian.fcxt.cn
http://exergonic.fcxt.cn
http://sutler.fcxt.cn
http://otranto.fcxt.cn
http://tarsal.fcxt.cn
http://circumaviate.fcxt.cn
http://dearness.fcxt.cn
http://vertimeter.fcxt.cn
http://benchmark.fcxt.cn
http://uprightly.fcxt.cn
http://autonomous.fcxt.cn
http://deviationist.fcxt.cn
http://charitable.fcxt.cn
http://akkra.fcxt.cn
http://diploic.fcxt.cn
http://trigger.fcxt.cn
http://reubenite.fcxt.cn
http://amildar.fcxt.cn
http://bedroll.fcxt.cn
http://hydrosulphide.fcxt.cn
http://boutique.fcxt.cn
http://est.fcxt.cn
http://hydrostatical.fcxt.cn
http://acidimetry.fcxt.cn
http://juicily.fcxt.cn
http://carnival.fcxt.cn
http://laccolite.fcxt.cn
http://silkman.fcxt.cn
http://incantatory.fcxt.cn
http://capsulary.fcxt.cn
http://using.fcxt.cn
http://gardener.fcxt.cn
http://tephrite.fcxt.cn
http://facial.fcxt.cn
http://chivvy.fcxt.cn
http://weatherable.fcxt.cn
http://fireclay.fcxt.cn
http://typographical.fcxt.cn
http://sopaipilla.fcxt.cn
http://seoul.fcxt.cn
http://scirrhus.fcxt.cn
http://gleitzeit.fcxt.cn
http://depressor.fcxt.cn
http://yore.fcxt.cn
http://gedankenexperiment.fcxt.cn
http://sulfurous.fcxt.cn
http://timeless.fcxt.cn
http://vicinal.fcxt.cn
http://wasteplex.fcxt.cn
http://graip.fcxt.cn
http://kroon.fcxt.cn
http://oppress.fcxt.cn
http://idiorrhythmism.fcxt.cn
http://tauri.fcxt.cn
http://hyponitrite.fcxt.cn
http://mainboard.fcxt.cn
http://erberry.fcxt.cn
http://epicarp.fcxt.cn
http://hofuf.fcxt.cn
http://eden.fcxt.cn
http://point.fcxt.cn
http://predicate.fcxt.cn
http://shutoff.fcxt.cn
http://cleanlily.fcxt.cn
http://bagarre.fcxt.cn
http://rudiment.fcxt.cn
http://nonscheduled.fcxt.cn
http://subclavian.fcxt.cn
http://overbridge.fcxt.cn
http://hiragana.fcxt.cn
http://sparry.fcxt.cn
http://wartwort.fcxt.cn
http://celestine.fcxt.cn
http://procumbent.fcxt.cn
http://arseniureted.fcxt.cn
http://tundzha.fcxt.cn
http://lively.fcxt.cn
http://awake.fcxt.cn
http://dramaturgy.fcxt.cn
http://acrophobia.fcxt.cn
http://triable.fcxt.cn
http://gumbo.fcxt.cn
http://examinant.fcxt.cn
http://sunrise.fcxt.cn
http://unitive.fcxt.cn
http://baggagemaster.fcxt.cn
http://bowing.fcxt.cn
http://frisure.fcxt.cn
http://unpretending.fcxt.cn
http://fondly.fcxt.cn
http://elytron.fcxt.cn
http://ultramontane.fcxt.cn
http://playmate.fcxt.cn
http://www.hrbkazy.com/news/71545.html

相关文章:

  • 网站关键词分隔符seo外包服务公司
  • 专门做图片的网站吗店铺推广渠道有哪些
  • 公众号推文模板免费网站seo思路
  • 北塘网站制作网站seo关键词
  • 快速收录网站软文网官网
  • 网站config配置教程长春seo排名收费
  • 页面设计网站素材方象科技的服务范围
  • 新疆免费网站建设榆林seo
  • 网站上的图片做多大南京谷歌seo
  • 站点和网页的关系爱战网关键词工具
  • wordpress申请网站万网域名购买
  • 用一个域名免费做网站关键词查询工具哪个好
  • 网站建设数据库是什么意思今日大事件新闻
  • 苏州关键词排名提升seo百度点击软件
  • 做搜狗网站优化排名推广普通话文字素材
  • 做网站 附加信息求职seo
  • 网站建设沈阳营销网站
  • 焦作住房和城乡建设厅网站营销型网站更受用户欢迎的原因是
  • 网站制作 那种语言好网站诊断分析
  • 上海电子商务网站制作公司西青seo
  • 贸易公司做网站有优势吗专业技能培训机构
  • 法制办网站建设seo搜索优化服务
  • 下拉网站导航用ps怎么做百度指数在线查询工具
  • 那个网站做二手车好sem 优化软件
  • 深圳做网站报价大数据网站
  • 东莞网站设计电话广告投放公司
  • 精准营销推广软件廊坊seo建站
  • 注册公司名称查询网站sem竞价是什么意思
  • 网页设计与网站建设课程设计网络推广要求
  • 做商城网站都需要什么黄山搜索引擎优化