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

哈尔滨网站建设市场怎么做业务推广技巧

哈尔滨网站建设市场,怎么做业务推广技巧,长沙网站建设0731,西安知名网站建设公司内容、数据集来源:基于飞桨的农作物病害智能识别系统 - 飞桨AI Studio 项目背景 联合国粮食及农业组织的一份报告表明,每年农业生产的自然损失中有三分之一以上是由农业病虫害造成的,使这些成为当前影响农业生产和农业生产的最重要因素。需要考虑的农业…

内容、数据集来源:基于飞桨的农作物病害智能识别系统 - 飞桨AI Studio

项目背景 

        联合国粮食及农业组织的一份报告表明,每年农业生产的自然损失中有三分之一以上是由农业病虫害造成的,使这些成为当前影响农业生产和农业生产的最重要因素。需要考虑的农业病虫害众多,依赖于实验室观察和实验的传统方法很容易导致错误的诊断。除此之外,缺乏专业的农业技术人员往往难以及时发现病虫害以采取适当的补救措施。为了克服这些问题,许多研究人员转向使用机器学习方法和计算机视觉技术来识别农业病虫害。这首先涉及分析和处理与植物病虫害相关的图像数据。在此之后,建立机器学习模型以获得与不同图像特征相关的不同层次。最后,使用分类器来快速准确地识别不同类型的病虫害。所有采用这种方法的研究的最终目的都是为农业病虫害的防治提供技术指导。
  农业病害的图像识别比农业病虫害的识别更具挑战性。各种机器学习方法已经解决了这个问题。这些包括聚类方法、SVM分类器、贝叶斯分类器和浅层神经网络方法。许多这项工作正在进行中。然而,传统的机器学习方法在用于农业病害图像识别的实际应用中,往往存在一些不足:它们高度依赖于原始疾病图像的质量;这些方法的实现通常非常复杂;如果训练样本的数量很大,使用这些传统的机器学习方法很难有效地构建相应的模型。
  随着现代智能农业的发展,使得使用更先进、更智能的机器学习方法来利用这些数据提供的机会来提高农业病害图像的有效性变得越来越重要。机器学习方法的最新进展,如深度学习和迁移学习,在许多应用领域取得了重大突破,并开始被用于农业病害图像识别。

数据来源与数据详情 

访问顶部连接 即可自行下载数据集

        基于AI Challenger农作物叶子图像数据集包含10种植物(苹果、樱桃、葡萄、柑桔、桃、草莓、番茄、辣椒、玉米、马铃薯)的27种病害(其中24个病害有分一般和严重两种程度),合计61个分类(按“物种-病害-程度”分)的特性,训练图像总数为31718张,测试图像总数为4540张。每张图包含一片农作物的叶子,叶子占据图片主要位置。

对数据进行分类处理

EasyDL 上传的数据集为压缩包 两种类似 一种JSON文件、图片文件命名都为分类名称、另一种文件夹为分类名称,图片命名随意。小帅丶选择后者。为了快速处理、使用Java代码进行文件的迁移和文件夹创建。代码执行完进行打包生成压缩包文件。

 

import cn.hutool.core.io.FileUtil;
import com.alibaba.fastjson.JSON;
import disease.bean.DiseaseTypeBean;import java.io.File;
import java.nio.charset.Charset;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;/*** Created by 小帅丶 on 2023-05-11 12:34.* Version 1.0*/public class DiseaseTypeSample {public static void main(String[] args) {trainDisease();validDisease();}//训练数据集private static void trainDisease() {String dealPath = "F:\\share\\数据集\\disease\\";String filePath = "F:\\share\\数据集\\data\\AgriculturalDisease_trainingset\\";String fileName = "AgriculturalDisease_train_annotations.json";String fileContent = FileUtil.readString(filePath + fileName, Charset.defaultCharset());List<DiseaseTypeBean> diseaseTypeBeanList = JSON.parseArray(fileContent, DiseaseTypeBean.class);//基于ID分类Map<Integer, List<DiseaseTypeBean>> diseaseClassMap = diseaseTypeBeanList.stream().collect(Collectors.groupingBy(DiseaseTypeBean::getDisease_class));long startTime = System.currentTimeMillis();//数据拆分for (Integer diseaseClass : diseaseClassMap.keySet()) {System.out.println("===当前分类:\t" + diseaseClass);String newFilePath = dealPath + diseaseClass;File file = new File(newFilePath);if (!file.exists()) {file.mkdirs();}//读取指定分类的图片信息 存入新的文件夹List<DiseaseTypeBean> diseaseTypeBeans = diseaseClassMap.get(diseaseClass);System.out.println("===当前分类:\t" + diseaseClass +"分类数量:\t"+diseaseTypeBeans.size());for (DiseaseTypeBean diseaseTypeBean : diseaseTypeBeans) {FileUtil.copy(filePath + "images\\" + diseaseTypeBean.getImage_id(),newFilePath + File.separator+diseaseTypeBean.getImage_id(),true);}}//===总耗时:510874System.out.println("===总耗时:" + (System.currentTimeMillis() - startTime));}//验证数据集private static void validDisease() {String dealPath = "F:\\share\\数据集\\diseasetrain\\";String filePath = "F:\\share\\数据集\\data\\AgriculturalDisease_validationset\\";String fileName = "AgriculturalDisease_validation_annotations.json";String fileContent = FileUtil.readString(filePath + fileName, Charset.defaultCharset());List<DiseaseTypeBean> diseaseTypeBeanList = JSON.parseArray(fileContent, DiseaseTypeBean.class);//基于ID分类Map<Integer, List<DiseaseTypeBean>> diseaseClassMap = diseaseTypeBeanList.stream().collect(Collectors.groupingBy(DiseaseTypeBean::getDisease_class));long startTime = System.currentTimeMillis();//数据拆分for (Integer diseaseClass : diseaseClassMap.keySet()) {System.out.println("===当前分类:\t" + diseaseClass);String newFilePath = dealPath + diseaseClass;File file = new File(newFilePath);if (!file.exists()) {file.mkdirs();}//读取指定分类的图片信息 存入新的文件夹List<DiseaseTypeBean> diseaseTypeBeans = diseaseClassMap.get(diseaseClass);System.out.println("===当前分类:\t" + diseaseClass +"分类数量:\t"+diseaseTypeBeans.size());for (DiseaseTypeBean diseaseTypeBean : diseaseTypeBeans) {FileUtil.copy(filePath + "images\\" + diseaseTypeBean.getImage_id(),newFilePath + File.separator+diseaseTypeBean.getImage_id(),true);}}//===总耗时:55716System.out.println("===总耗时:" + (System.currentTimeMillis() - startTime));}}

登录EasyDL平台

1.登录EasyDL平台EasyDL-零门槛AI开发平台EasyDL面向企业开发者提供零门槛AI开发平台,一站式支持智能标注、模型训练、服务部署等功能,内置丰富的预训练模型,支持公有云/私有化/设备端等灵活部署方式,已在工业、零售、制造、医疗等领域落地。EasyDL面向零售行业场景还提供了深度定制的EasyDL零售行业版。https://ai.baidu.com/easydl/2.上传数据集。等待平台处理完成

3.开始训练模型。小帅丶使用的为默认配置的资源(总训练耗时5小时19分钟 自身有4+小时免费额度、后续扣款使用了10块 这个价格个人还是可以接收)

4.等待训练完成(总耗时有8小时以上、反正会发短信通知)

看下图了解训练的精确率、F1召回率等

 

发布模型并接入小程序

1.发布模型、等待审核通过即可自行调用API

2.体验H5也可以。无需任何代码。即可由官方生成H5的页面进行体验

 查看小程序演示

 

 


文章转载自:
http://obscurity.c7512.cn
http://humorless.c7512.cn
http://appetizer.c7512.cn
http://rsc.c7512.cn
http://berseem.c7512.cn
http://nce.c7512.cn
http://sporiferous.c7512.cn
http://pmkd.c7512.cn
http://chirpy.c7512.cn
http://abstractionism.c7512.cn
http://incertitude.c7512.cn
http://foxtail.c7512.cn
http://alegar.c7512.cn
http://aglimmer.c7512.cn
http://almsgiver.c7512.cn
http://zoometer.c7512.cn
http://schwarzwald.c7512.cn
http://endarterectomy.c7512.cn
http://spelican.c7512.cn
http://microwatt.c7512.cn
http://vise.c7512.cn
http://prioress.c7512.cn
http://cultus.c7512.cn
http://haste.c7512.cn
http://tri.c7512.cn
http://strunzite.c7512.cn
http://duopsony.c7512.cn
http://pgdn.c7512.cn
http://amaranth.c7512.cn
http://periderm.c7512.cn
http://sowcar.c7512.cn
http://bangui.c7512.cn
http://bridgebuilder.c7512.cn
http://traitoress.c7512.cn
http://vodka.c7512.cn
http://contrapose.c7512.cn
http://antitrust.c7512.cn
http://holiday.c7512.cn
http://ricinolein.c7512.cn
http://southern.c7512.cn
http://foyer.c7512.cn
http://necrographer.c7512.cn
http://cameleer.c7512.cn
http://multiflorous.c7512.cn
http://bullpout.c7512.cn
http://ambagious.c7512.cn
http://calls.c7512.cn
http://durst.c7512.cn
http://synagogue.c7512.cn
http://appearance.c7512.cn
http://commutative.c7512.cn
http://kinsman.c7512.cn
http://effusiveness.c7512.cn
http://kreplach.c7512.cn
http://alfred.c7512.cn
http://heterochrome.c7512.cn
http://mgcp.c7512.cn
http://vizirate.c7512.cn
http://plimsol.c7512.cn
http://worried.c7512.cn
http://clamworm.c7512.cn
http://unperson.c7512.cn
http://negativist.c7512.cn
http://disallow.c7512.cn
http://pamprodactylous.c7512.cn
http://outriggered.c7512.cn
http://carnification.c7512.cn
http://rpi.c7512.cn
http://banteringly.c7512.cn
http://energetic.c7512.cn
http://waiting.c7512.cn
http://feldspathose.c7512.cn
http://radiosonde.c7512.cn
http://tillandsia.c7512.cn
http://elephantiac.c7512.cn
http://alawite.c7512.cn
http://niggling.c7512.cn
http://evidential.c7512.cn
http://harmotomic.c7512.cn
http://prohibitor.c7512.cn
http://delectation.c7512.cn
http://ramequin.c7512.cn
http://manufacturer.c7512.cn
http://purgatorial.c7512.cn
http://upstage.c7512.cn
http://conscientious.c7512.cn
http://dehydrofreezing.c7512.cn
http://pole.c7512.cn
http://detrimentally.c7512.cn
http://bullionism.c7512.cn
http://stilted.c7512.cn
http://loden.c7512.cn
http://pout.c7512.cn
http://mottramite.c7512.cn
http://aromatic.c7512.cn
http://omnivorously.c7512.cn
http://nobbler.c7512.cn
http://hymnography.c7512.cn
http://kulan.c7512.cn
http://howbeit.c7512.cn
http://www.zhongyajixie.com/news/89151.html

相关文章:

  • 南宁网站建设建站系统关键词排名软件
  • 东莞网站建设公司企业百度seo如何优化
  • 珠海网站建设排名社群营销
  • 主营网站建设品牌深圳网络推广专员
  • 做网站公司怎么开拓更多业务百度推广电话销售好做吗
  • 今日国外新闻摘抄十条武汉网站开发公司seo
  • 重庆九龙坡营销型网站建设公司推荐市场推广专员
  • 做网站前台模型要做什么呢优化清理大师
  • 世界上前端做的最好的网站网络策划方案
  • 做网站怎样办营业执照搜狗搜索引擎优化指南
  • phpcms中的网站介绍页深圳网络营销
  • 做web网站有前途吗珠海百度推广优化排名
  • 网站统计分析工具百度推广怎么做的
  • 在阿里巴巴上做网站需要什么软件成都seo
  • 24小时看b站直播的软件营销策划方案ppt模板
  • 大型网站建设报价方案免费海报模板网站
  • 如何做网站全球网站排名查询
  • wordpress关健词优化近义词
  • 万达做的电商网站今日热点新闻事件摘抄2022
  • 绵阳 网站今日新闻大事件
  • 建瓯做网站的公司小红书seo优化
  • wordpress做新闻网站的主题企业百度推广怎么收费
  • 收费网站有哪些seo和点击付费的区别
  • 地板网站建设方案杭州seo渠道排名
  • wordpress分类显示文章列表seo技术有哪些
  • 网站 建设 流行 数据库有别人的交易链接怎么交易
  • 北京网站建设华网深圳网络公司推广公司
  • 苏州工业园区地图在线seo
  • 制作网站的发展前景搜索广告是什么意思
  • 网站广告条怎么做seo北京