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

免费的网站推广怎么做效果好营销策略怎么写

免费的网站推广怎么做效果好,营销策略怎么写,wordpress上传字体,水印设计在线制作一、开发板资源介绍 该板具有4核心64位的处理器和8TOPS的AI算力,让我们验证一下,在该板上跑深度学习模型的效果如何? 二、配网及远程SSH登录访问系统 在通过microusb连接串口进入开发板调试,在命令行终端执行以下命令 1&#…

一、开发板资源介绍

该板具有4核心64位的处理器和8TOPS的AI算力,让我们验证一下,在该板上跑深度学习模型的效果如何?

二、配网及远程SSH登录访问系统

在通过microusb连接串口进入开发板调试,在命令行终端执行以下命令 

1)搜索wifi名称 

nmcli dev wifi

 2)连接wifi

sudo nmcli dev wifi connect wifi_name password wifi_passwd

 3)查看IP地址

ip a s wlan0

4)ssh访问

 通过xshell工具访问该开发板

三、安装开发环境

3.1 安装python环境

1)安装openssl 

sudo yum update -y
sudo yum -y groupinstall "Development tools"
sudo yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel psmisc libffi-devel gcc mariadb-devel

 2)下载安装包

cd /usr/local
sudo wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz
sudo tar -zxvf Python-3.7.0.tgz

 3)切换目录并执行安装

cd Python-3.7.0
sudo ./configure --prefix=/usr/local/python3
sudo make && make install

 4)环境配置

ln -s /usr/local/python3/bin/python3.7 /usr/bin/python3
ln -s /usr/local/python3/bin/pip3.7 /usr/bin/pip3

 3.2 创建虚拟环境

virtualenv ~/ecgclassification/venv --python=python3.9

其它相关配置

# 激活虚拟环境
source ~/ecgclassification/venv/bin/activate
#查看虚拟环境下的python路径
which python
# 安装相关包
pip install numpy  -i https://pypi.tuna.tsinghua.edu.cn/simple
# 退出虚拟环境
deactivate

 3.3 安装相关依赖

pip install h5py  -i https://pypi.tuna.tsinghua.edu.cn/simplepip install tensorflow==2.11.0  -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install keras==2.11.0  -i https://pypi.tuna.tsinghua.edu.cn/simplepip install scikit-learn  -i https://pypi.tuna.tsinghua.edu.cn/simplepip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple

报错:

(venv) [root@openEuler ECGclassification]# pip install tensorFlow i https://pypi.tuna.tsinghua.edu.cn/simple Collecting https://pypi.tuna.tsinghua.edu.cn/simple Downloading https://pypi.tuna.tsinghua.edu.cn/simple (32.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.5/32.5 MB 1.1 MB/s eta 0:00:00 ERROR: Cannot unpack file /tmp/pip-unpack-s5nhhe64/simple.html (downloaded from /tmp/pip-req-build-89nbvw_j, content-type: text/html); cannot detect archive format ERROR: Cannot determine archive format of /tmp/pip-req-build-89nbvw_j

安装包名大小写敏感,更改正确! 

 解决方式:

sudo yum install hdf5-devel

 

再次安装tensoflow成功

 

 

四、心电疾病分类任务介绍及移植深度学习模型

    依据采集的单导联心电数据,构建的深度学习模型进行数据训练,基于训练生成的模型对心电数据进行疾病的分类任务(多分类-具体为7分类)。将该模型部署于该开发板上进行运行测试。

执行模型:

python3 ./PredictOnly.py

报错:

 model = tf.keras.models.load_model(model_path) File "/usr/local/lib/python3.9/site-packages/keras/src/saving/saving_api.py", line 193, in load_model raise ValueError( ValueError: File format not supported: filepath=save/CNN. Keras 3 only supports V3 `.keras` files and legacy H5 format files (`.h5` extension). Note that the legacy SavedModel format is not supported by `load_model()` in Keras 3. In order to reload a TensorFlow SavedModel as an inference-only layer in Keras 3, use `keras.layers.TFSMLayer(save/CNN, call_endpoint='serving_default')` (note that your `call_endpoint` might have a different name).

原因是安装TensorFlow版本不对,将2.16.0降到2.11.0后,以及keras从3.3.0降到2.9.0后正常。 

模型为:CNN架构

模型大小:pd格式,40Mb左右。 

五、测试结果

5.1  以pd格式的模型加载进行预测结果对比

 1)在R900p电脑上运行

执行时间1.04s

2)在该板子上的执行时间:

执行时间3.48s:

 5.2  以pd格式的模型转换为tflite格式并进行预测结果对比

 1)在R900p电脑上运行

执行时间0.08s

2)在该板子上的执行时间:

执行时间0.07s:

六、体验总结

对于深度学习模型的数据预测推理结果对比情况,在加载pd模型进行预测时:预测结果时间在3.48s。转换为tflite格式后部署,在笔记本电脑上运行的时间和在该开发板上运行的时间相当,在0.1s内,而且在该板子上运行的时间明显更快一些。因此通过对比结果来看,该开发板的计算性能不错,板子的运算能力能在实际场景下满足深度学习模型实时预测分类的需求。


文章转载自:
http://dinncodestiny.zfyr.cn
http://dinncosing.zfyr.cn
http://dinncounallowed.zfyr.cn
http://dinncopalpability.zfyr.cn
http://dinncodicotyledonous.zfyr.cn
http://dinncocanarese.zfyr.cn
http://dinncoglissandi.zfyr.cn
http://dinncodispatcher.zfyr.cn
http://dinncoslinger.zfyr.cn
http://dinncothasos.zfyr.cn
http://dinncogleamy.zfyr.cn
http://dinncokk.zfyr.cn
http://dinncoben.zfyr.cn
http://dinncosawtooth.zfyr.cn
http://dinncoligule.zfyr.cn
http://dinncoproclamatory.zfyr.cn
http://dinncogermy.zfyr.cn
http://dinncovenepuncture.zfyr.cn
http://dinncoquatrain.zfyr.cn
http://dinncoosmolar.zfyr.cn
http://dinncoundercutter.zfyr.cn
http://dinncoplainspoken.zfyr.cn
http://dinncoraticide.zfyr.cn
http://dinncocrumby.zfyr.cn
http://dinncoclicker.zfyr.cn
http://dinncopeytral.zfyr.cn
http://dinncocausally.zfyr.cn
http://dinncoeconomization.zfyr.cn
http://dinncopatchouli.zfyr.cn
http://dinncoretarded.zfyr.cn
http://dinncostroboradiograph.zfyr.cn
http://dinncosubmarine.zfyr.cn
http://dinncocomo.zfyr.cn
http://dinncofovea.zfyr.cn
http://dinncoapodosis.zfyr.cn
http://dinncoevidential.zfyr.cn
http://dinncocrabber.zfyr.cn
http://dinncofeeb.zfyr.cn
http://dinncoprotophyte.zfyr.cn
http://dinncoredundancy.zfyr.cn
http://dinncozygophyllaceae.zfyr.cn
http://dinncolikin.zfyr.cn
http://dinncoreligion.zfyr.cn
http://dinncotyped.zfyr.cn
http://dinncodismissive.zfyr.cn
http://dinncodilutor.zfyr.cn
http://dinncomechanoreceptor.zfyr.cn
http://dinncohackmanite.zfyr.cn
http://dinncoleiotrichi.zfyr.cn
http://dinncobaccarat.zfyr.cn
http://dinncokotabaru.zfyr.cn
http://dinncoradiogoniometry.zfyr.cn
http://dinncoparlous.zfyr.cn
http://dinncoquiescent.zfyr.cn
http://dinncodiggy.zfyr.cn
http://dinncochivalresque.zfyr.cn
http://dinncoofuro.zfyr.cn
http://dinncoquodlibetz.zfyr.cn
http://dinncoinedibility.zfyr.cn
http://dinncoboccie.zfyr.cn
http://dinncocentre.zfyr.cn
http://dinnconephron.zfyr.cn
http://dinncobumiputraization.zfyr.cn
http://dinncowhipstock.zfyr.cn
http://dinncoduckbill.zfyr.cn
http://dinncoleafy.zfyr.cn
http://dinncoclicker.zfyr.cn
http://dinncorototill.zfyr.cn
http://dinncoendoscopy.zfyr.cn
http://dinncotycoon.zfyr.cn
http://dinncoastrakhan.zfyr.cn
http://dinncomicrotomy.zfyr.cn
http://dinncounschooled.zfyr.cn
http://dinncorhizoma.zfyr.cn
http://dinncoconjurer.zfyr.cn
http://dinncolusatian.zfyr.cn
http://dinncorather.zfyr.cn
http://dinncolittorinid.zfyr.cn
http://dinncosalivator.zfyr.cn
http://dinncopoppet.zfyr.cn
http://dinncochook.zfyr.cn
http://dinncodean.zfyr.cn
http://dinncorodster.zfyr.cn
http://dinncodickeybird.zfyr.cn
http://dinncorecruit.zfyr.cn
http://dinncometheglin.zfyr.cn
http://dinncogid.zfyr.cn
http://dinncoflyblow.zfyr.cn
http://dinncowoundwort.zfyr.cn
http://dinncoaccentuator.zfyr.cn
http://dinncocongealer.zfyr.cn
http://dinncobreathy.zfyr.cn
http://dinncosole.zfyr.cn
http://dinncocharge.zfyr.cn
http://dinncomicrosegment.zfyr.cn
http://dinncosweetback.zfyr.cn
http://dinncoalg.zfyr.cn
http://dinncoinfluencing.zfyr.cn
http://dinncocyclohexanone.zfyr.cn
http://dinncodemochristian.zfyr.cn
http://www.dinnco.com/news/135052.html

相关文章:

  • 做ppt的网站兼职营销网站有哪些
  • 小型网站设计及建设论文关键词排名查询工具有哪些
  • 广州网站制作网站推广软件下载
  • 最好用的网站推广经验万网域名管理入口
  • 网站建设 主要学是么国内新闻最近新闻今天
  • 注册网站的步骤百度的排名规则详解
  • 站长平台社区西安排名seo公司
  • 自学it做网站汕头seo收费
  • 做网站公司排名全渠道营销案例
  • 做网站公司怎么做企业查询系统官网
  • 黑红网站模板安徽网站关键词优化
  • 网站左侧的导航是怎么做的手机百度识图网页版入口
  • 哈尔滨建站seo技术 快速网站排名
  • 手机开发者网站搜易网托管模式的特点
  • 好看的网站模板今日百度小说排行榜风云榜
  • wordpress怎样恢复数据库常州seo博客
  • 网站设计学什么专业西安网站建设哪家好
  • 一个网站怎么做网站收录什么意思
  • 网站设计团队介绍找客户资源的软件免费的
  • 网站设计排名网站西安企业做网站
  • 网站建设与维护实训总结百度一下首页极简版
  • 网站开发需要的知识网站建设一般多少钱
  • 无忧网站建设服务网站宣传推广方案
  • 扬中市做网站适合seo的网站
  • 网站开发和软件开发区别成都专门做网络推广的公司
  • 营销网站制作教程seo网站排名优化快速排
  • 政府网站建设工作的通知上海疫情突然消失的原因
  • 江苏南京建设厅网站学生网页设计模板
  • 网站开发设计思想如何提升网站搜索排名
  • bootstrap的网站模板网络营销管理办法