摘要
深度学习技术被广泛应用于图像分类等计算机视觉领域。大型数据集通常需要大量的计算能力来训练。在实际应用场景中,人们通常只能携带和使用移动设备和便携设备,因此,在计算能力、容量、功耗等方面受到限制。本文以高效的轻量级模型MobileNet为基础,通过增加卷积块注意模块和调整网络模型结构来提高模型精度,同时基于权值大小来修剪和量化压缩模型大小,实现了基于该优化模型的垃圾分类移动终端应用,便捷地完成垃圾分类任务。
Deep learning technology is widely used in computer vision.Generally,a large amount of data is used to train the model weights in deep learning,so as to obtain a model with higher accuracy.However,massive data and complex model structures require more calculating resources.Since people generally can only carry and use mobile and portable devices in application scenarios,neural networks have limitations in terms of calculating resources,size and power consumption.Therefore,the efficient lightweight model MobileNet is used as the basic network in this study for optimization.First,the accuracy of the MobileNet model is improved by adding methods such as the convolutional block attention module(CBAM)and expansion convolution.Then,the MobileNet model is compressed by using pruning and weight quantization algorithms based on weight size.Afterwards,methods such as Python crawlers and data augmentation are employed to create a garbage classification data set.Based on the above model optimization strategy,the garbage classification mobile terminal application is deployed on mobile phones and raspberry pies,realizing completing the garbage classification task more conveniently.
作者
赵庶旭
门士尧
元琳
ZHAO Shuxu;MEN Shiyao;YUAN Lin(School of Electronics and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China)