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

Python配合Yolov11开对象检测训练软件

  1. 上篇文章写了,yolov11对象检测软件,这篇文章再加入训练的功能
  2. 环境配置环境配置onnx 1.16.1,onnx-graphsurgeon 0.5.2,onnxruntime 1.19.2,onnxruntime-gpu 1.19.2,onnxslim 0.1.34,torch 2.3.1+cu121,torchaudio 2.3.1+cu121,torchvision 0.18.1+cu121,PySide6 6.6.1,PySide6-Addons 6.6.1,PySide6-Essentials 6.6.1
  3. 分类使用的数据集,halcon的pill_bag对象检测的数据集
    请添加图片描述
    4.软件界面
    请添加图片描述
    5.核心代码
  def TrainThrExecut(self):_monitor_train.TrainSimple = Trueimagedealwith._image_deal_with.Model = YOLO(imagedealwith._image_deal_with.TrainPreprocessModelPath)results = imagedealwith._image_deal_with.Model.train(data=imagedealwith._image_deal_with.TrainingYamlFilePath,project=imagedealwith._image_deal_with.TrainSaveDataPath,epochs=imagedealwith._image_deal_with.Epoches,batch=imagedealwith._image_deal_with.BatchSize,imgsz=imagedealwith._image_deal_with.PreprocessImageSize,amp=False)print(results)sucess = imagedealwith._image_deal_with.Model.export(format='onnx')_monitor_train.TrainSimple = Falseimagedealwith._image_deal_with.ImageDealWithStatus = ImageDealWithStatusEnu.Inferenceself.pbtn_train.setText("Train")self.lab_train_status.setText("")pass

http://www.mrgr.cn/news/53793.html

相关文章:

  • 重新构建带python的boost库,但是cmake报错找不到 boost_nump
  • C语言 | Leetcode C语言题解之第493题翻转对
  • 后台管理员登录实现--系统篇
  • 【Flutter】基础组件:Container
  • 每日新闻掌握【2024年10月22日 星期二】
  • STM32软件模拟I2C的实现方式(一)
  • 019_基于python+django食品销售数据分析系统2024_4032ydxt
  • SwanLab VSCode插件已发布,附使用教程
  • Spring Cloud Alibaba AI实践
  • YOLOv11改进策略【卷积层】| ECCV-2024 小波卷积WTConv 增大感受野,降低参数量计算量,独家创新助力涨点
  • 【软件测试】JUnit
  • 【瑞昱RTL8763E】py文件的执行
  • 群晖通过 Docker 安装 MySQL
  • 远程监控电脑屏幕用什么软件?种草6款真实好用的远程电脑监控软件!实用至上!
  • C++学习,标准库 <string> 成员函数
  • 【C】分支和循环--猜数字游戏
  • 软件生存期和软件过程
  • 如何在Matlab界面中添加日期选择器?
  • Asp.net Core SignalR 跨域设置(Furion)
  • 软件工程的学习之详细绪论
  • Excel中如何进行傅里叶变换(FT),几步完成
  • 【JAVA毕业设计】基于Vue和SpringBoot的时装购物系统
  • 高效监控系统:Nightingale本地化部署与远程访问指南
  • 【经管】比特币与以太坊历史价格数据集(2014.1-2024.5)
  • 【C#】WPF 依赖属性,PasswordBox中的Password属性绑定
  • Unity Apple Vision Pro 保姆级开发教程-准备阶段