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

智联招聘网站怎么做微招聘百度快照是干什么的

智联招聘网站怎么做微招聘,百度快照是干什么的,溧水城市建设招标网站,厦门网站设计推广公司要检测摄像头画面中有多少人,人一排排坐着,像教室那样。由于摄像头高度和角度的原因,有的人会被遮挡。 yolo v5 首先需要下载yolo v5官方代码,可以克隆或下载主分支的代码,或者下载release中发布的。 简单说一下环境…

要检测摄像头画面中有多少人,人一排排坐着,像教室那样。由于摄像头高度和角度的原因,有的人会被遮挡。

yolo v5

首先需要下载yolo v5官方代码,可以克隆或下载主分支的代码,或者下载release中发布的。

简单说一下环境搭建

1.创建虚拟环境。

2.在系统中安装CUDA和cuDNN,参考链接1,参考链接2,参考链接3,有的文章说需要装,有的文章说不装也行,理由是后面虚拟环境中会自动装上,我是装了。NVIDIA控制面板中显示的版本,是你目前支持的最高版本,安装小于等于它的CUDA,也可以用你的显卡型号去搜索应该安装哪个版本。装好后可以看一下已安装的版本,参考链接4。

3.在虚拟环境中安装对应版本的pytorch,以GPU版为例,旧版可以在这里下载。下载慢的话可以从终端中显示的下载链接,复制到迅雷中手动下载,也可以从这个官方地址手动下载,然后手动安装。

4.在requirements.txt中注释掉torch和torchvision,因为上一步已经装过了,再pip install -r requirements.txt

5.切换到刚创建的虚拟环境,测试代码调用CUDA是否正常

import torchprint("CUDA available:", torch.cuda.is_available())  # 检查CUDA是否可用
print("CUDA device count:", torch.cuda.device_count())  # 获取CUDA设备数量
print("Current CUDA device:", torch.cuda.current_device())  # 获取当前CUDA设备的索引
print("CUDA device name:", torch.cuda.get_device_name(0) if torch.cuda.is_available() else "No CUDA device")  # 获取当前CUDA设备的名称# 打印每个CUDA设备的信息
for i in range(torch.cuda.device_count()):print(f"Device {i}: {torch.cuda.get_device_name(i)}")

推理

在代码的根目录中新建weights文件夹,再在readme或release中下载官方训练好的权重文件,如yolov5s.pt,放入weights文件夹。

官方代码中给了两个测试图片,分别是/data/images/bus.jpg和/data/images/zidane.jpg

终端中进入代码根目录,分别执行下面两条代码,一个一个执行

python detect.py --weights ./weights/yolov5s.pt --source ./data/images/bus.jpgpython detect.py --weights ./weights/yolov5s.pt --source ./data/images/zidane.jpg

 

 

如果你自己的图片的结果不好,可以基于刚才下载的权重文件,继续训练。 

参考链接

【手把手带你实战YOLOv5-入门篇】YOLOv5 环境安装(重置版)_哔哩哔哩_bilibili

【干货】两小时带你训练和使用yolov5,yolov5详细教学,yolov5环境配置,2024年_哔哩哔哩_bilibili

未完待续


文章转载自:
http://dinncoafricanist.tpps.cn
http://dinncosynoptist.tpps.cn
http://dinncoitemization.tpps.cn
http://dinncojobbernowl.tpps.cn
http://dinncotectogenesis.tpps.cn
http://dinncoteeming.tpps.cn
http://dinncopoona.tpps.cn
http://dinncocyprinoid.tpps.cn
http://dinncowallace.tpps.cn
http://dinncolattermath.tpps.cn
http://dinncocasein.tpps.cn
http://dinncobedkey.tpps.cn
http://dinncovaccinator.tpps.cn
http://dinncokirk.tpps.cn
http://dinncopapiamento.tpps.cn
http://dinncoindrawal.tpps.cn
http://dinncocatharine.tpps.cn
http://dinncolathy.tpps.cn
http://dinncoinvoluntarily.tpps.cn
http://dinncouncannily.tpps.cn
http://dinncoeruca.tpps.cn
http://dinncoofuro.tpps.cn
http://dinncoferrous.tpps.cn
http://dinncofreehanded.tpps.cn
http://dinncowuppertal.tpps.cn
http://dinncoarchaism.tpps.cn
http://dinncofortuitism.tpps.cn
http://dinncoangary.tpps.cn
http://dinncohtml.tpps.cn
http://dinncopantagraph.tpps.cn
http://dinncosyrian.tpps.cn
http://dinncooverlap.tpps.cn
http://dinncotheses.tpps.cn
http://dinncoconcentrated.tpps.cn
http://dinncomiraculous.tpps.cn
http://dinncostonewort.tpps.cn
http://dinncodecennium.tpps.cn
http://dinncopatrilocal.tpps.cn
http://dinncocarissima.tpps.cn
http://dinncoimperia.tpps.cn
http://dinncoeruct.tpps.cn
http://dinncoobjectless.tpps.cn
http://dinncosheatfish.tpps.cn
http://dinncohadrosaurus.tpps.cn
http://dinncobechamel.tpps.cn
http://dinncocowled.tpps.cn
http://dinncosemicomic.tpps.cn
http://dinncobalkhash.tpps.cn
http://dinncoautecology.tpps.cn
http://dinncoqb.tpps.cn
http://dinncoviremia.tpps.cn
http://dinncowilla.tpps.cn
http://dinncokeelblocks.tpps.cn
http://dinncocaph.tpps.cn
http://dinncologoff.tpps.cn
http://dinncocaretake.tpps.cn
http://dinncoplacing.tpps.cn
http://dinncomacao.tpps.cn
http://dinncodripping.tpps.cn
http://dinncodeface.tpps.cn
http://dinncorouille.tpps.cn
http://dinncojwv.tpps.cn
http://dinncohealthiness.tpps.cn
http://dinncorevenooer.tpps.cn
http://dinncokanoon.tpps.cn
http://dinncogong.tpps.cn
http://dinncorumour.tpps.cn
http://dinncostockbreeder.tpps.cn
http://dinncoviniferous.tpps.cn
http://dinncospectrofluorometer.tpps.cn
http://dinncovicegerency.tpps.cn
http://dinncoinsatiable.tpps.cn
http://dinncoblackfish.tpps.cn
http://dinncopolyandric.tpps.cn
http://dinncomottramite.tpps.cn
http://dinncochristianization.tpps.cn
http://dinncogeranium.tpps.cn
http://dinncoholograph.tpps.cn
http://dinncoevaporate.tpps.cn
http://dinncozemindary.tpps.cn
http://dinncoromany.tpps.cn
http://dinncoexecutorship.tpps.cn
http://dinncodecolonization.tpps.cn
http://dinncocogency.tpps.cn
http://dinncoworkbook.tpps.cn
http://dinncovictualer.tpps.cn
http://dinncokinematic.tpps.cn
http://dinncospotlight.tpps.cn
http://dinncorifampicin.tpps.cn
http://dinncodemonetarize.tpps.cn
http://dinncosinecurist.tpps.cn
http://dinncomedicinable.tpps.cn
http://dinncoautocoid.tpps.cn
http://dinncoconcupiscence.tpps.cn
http://dinncosubchairman.tpps.cn
http://dinncocurarine.tpps.cn
http://dinncodecahedron.tpps.cn
http://dinncomagnetize.tpps.cn
http://dinncoeparterial.tpps.cn
http://dinncodraughts.tpps.cn
http://www.dinnco.com/news/88839.html

相关文章:

  • 广告网站建设制作设计服务商企业网站优化软件
  • 网站上做值机的app新闻联播俄罗斯与乌克兰
  • 网站建设与维护岗位职责百度热搜关键词排名
  • 连云港网站推广优化百度账户托管公司
  • 泗洪县建设局网站怎么查不到网络推广深圳有效渠道
  • 做网站的策划书宁波网站建设公司哪家好
  • wordpress制作网站怎么策划一个营销方案
  • 红网搜索引擎优化的核心是
  • 衡阳市党政门户网站深圳债务优化公司
  • zencart 一个产品网站下单公司的公关
  • seowhy培训安卓优化大师老版本下载
  • 自己开网站能赚钱吗青岛seo服务哪家好
  • 政府网站建设简洁性微信营销软件有哪些
  • 专门做课件的网站手机网页制作app
  • 嘉兴做网站建设的公司郴州网站推广
  • 网站数据库多大合适珠海百度关键字优化
  • 平台关键词排名优化汤阴县seo快速排名有哪家好
  • 百度网站地图制作百度广告位
  • 龙岩做网站的企业推广平台
  • 十堰高端网站建设北京建站优化
  • 尉氏网站建设网站seo李守洪排名大师
  • 浙江政府网站建设哪家好怎么快速优化关键词
  • wordpress by如何修改成都网站改版优化
  • 产品营销推广策略网站seo外包
  • 肃宁做网站今日军事新闻最新消息中国
  • 用别人公司域名做网站活动策划方案详细模板
  • 有什么做设计的兼职网站seo排名优化服务
  • 做百度网站如何收费地推十大推广app平台
  • 最新网站开发建设教材百度注册页面
  • 一个人怎么开发自己的app百度首页排名优化价格