TensorFlow在图像识别系统中的应用

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

收稿日期:2018-06-12 修回日期:2018-10-18 网络出版时间:2018-12-21

基金项目:江苏省高等学校自然科学研究面上资助项目(17KJB510054);教育部2017年第二批 产学合作协同育人”项目(201702072056)作者简介:邢艳芳(1981-),女,硕士,讲师,研究方向为深度学习㊁嵌入式系统㊂网络出版地址: /kcms /detail /61.1450.TP.20181221.1525.040.html

TensorFlow 在图像识别系统中的应用

邢艳芳,段红秀,何光威

(中国传媒大学南广学院,江苏南京211172)

摘 要:人工智能将是未来发展的大方向,深度学习则是人工智能领域的一个重要分支㊂随着深度学习在国内外的快速发展,以及深度可分离卷积神经网络模型的提出,极大地推动了深度学习在图像识别㊁文字处理和语音识别等领域的广泛应用㊂基于Google 人工智能系统TensorFlow 的深度学习开发平台,可以快速搭建出深度可分离卷积神经网络㊂文中采用MobileNet 模型,Ubuntu16.04开源Linux 操作系统,CUDA9.0运算平台,cuDNN7.0.5并行架构,设计Python 爬虫程序构建数据集,运用TensorBoard 对模型进行可视化㊂通过对此类模型进行重建和训练,保存训练完成的模型,对图像实现了较高准确度的识别㊂完成在不同迭代次数下模型性能的测试和分析,通过与Inception_v3模型的准确度与迭代周期进行对比,表明MobileNet 在移动端㊁嵌入端以及网络规模大小和内存限制时具有较好的推广应用价值㊂关键词:图像识别;TensorFlow;深度可分离卷积神经网络;MobileNet

中图分类号:TP319 文献标识码:A 文章编号:1673-629X (2019)05-0192-05doi:10.3969/j.issn.1673-629X.2019.05.040

Application of TensorFlow in Image Recognition System

XING Yan -fang ,DUAN Hong -xiu ,HE Guang -wei

(Nanguang College of Communication University of China ,Nanjing 211172,China )

Abstract :Artificial intelligence will be the major development direction in the future ,while deep learning is an important branch in the field of artificial intelligence.With the rapid development of deep learning at home and abroad ,as well as the proposition of deep separable convolution neural network model ,the deep learning has been widely applied in the field of image recognition ,word processing and speech recognition ,etc..Based on the deep learning development platform of Google artificial intelligence system TensorFlow ,the deep separable convolution neural network can be built quickly.In this paper ,the MobileNet model ,Linux open source operation system Ubuntu 16.04,calculation platform CUDA 9.0and parallel structure cuDNN 7.0.5are adopted to design the image recognition system and data sets are built by Python crawler ing TensorBoard realizes the visualization of the model.By the reconstruction and training to the model ,the image recognition with high accuracy can be gained after saving the model which has been trained.The test and analysis of the model performance are finished for different iteration numbers.By comparing with the accuracy and iterative cycles of the Inception _v 3model ,it shows that the MobileNet model has better promotion and application value in mobile terminal ,embedded terminal ,and limited network scale and memory.

Key words :image identification ;TensorFlow ;deep separable convolution neural network ;MobileNet

0 引 言

众所周知,人工智能将是未来发展的大方向,深度学习则是人工智能领域的一个重要分支,在图像和语音识别等领域取得了重要突破㊂随着深度学习的发展,相关神经网络模型也不断推陈出新㊂TensorFlow 是目前主流的深度学习框架,文中以该框架为基础,采用Google MobileNet 模型,Ubuntu 16.04开源Linux 操作系统,CUDA 9.0运算平台,cuDNN 7.0.5并行架

构,选取从网络中爬取的图片作为数据集,进行训练和识别㊂

1 TensorFlow 框架

TensorFlow [1-5]是Google 公司推出的开源人工智

能系统,具有灵活性㊁高效性以及良好的可扩展性㊁可移植性等特征,可应用于从智能手机到大型计算集群的多种计算环境㊂

第29卷 第5期2019年5月 计算机技术与发展COMPUTER TECHNOLOGY AND DEVELOPMENT

Vol.29 No.5

May 2019

相关文档
最新文档