摘要
针对传统木材缺陷识别方法效率低、精度不高及泛化能力差等问题,对传统LeNet-5模型进行改进:通过分别增加卷积层和池化层的层数至4层,以增加网络深度;采用批量归一化算法,以解决内部协变量位移过拟合的问题;改用Leaky Relu函数作为激活函数,并加入稀疏分类交叉熵作为损失函数,使用Adam作为优化器,来优化网络模型。应用改进LeNet-5模型对辐射松木材常见缺陷(结疤、裂痕)及无缺陷样本集进行识别试验,结果表明:相对于传统LeNet-5模型以及VGG19、AlexNet、ResNet-50三种经典模型,改进LeNet-5模型的训练集准确率最高为99.87%、验证集为99.43%,运算时间缩短,木材缺陷识别精度和效率提高。
In order to improve efficiency,accuracy and commonization,the traditional LeNet-5 model was modified for detecting wood surface defects by increasing the number of convolutional layers and the pooling layers to 4 so that the network depth was increased.The batch normalization algorithm was used to solve internal co-vitiate shift displacement over-fitting problem.Leaky Relu function was used as the activation function,then sparse categorical cross entropy was added as the loss function,as well as Adam was used as the optimizer to enhance the network model.The comparison test was carried out on the samples of Pinus radiata with and without classical defects(knots and cracks).The results showed that the modified LeNet-5 model performed best comparing with VGG19,AlexNet and ResNet-50 classic models.The accuracy rate was 99.87%;the verification set was 99.43%;the operation time was reduced,therefore the accuracy and efficiency of detecting wood surface defects were improved.
作者
张赛
王应彪
杨谭
李明
ZHANG Sai;WANG Ying-biao;YANG Tan;LI Ming(School of Machinery and Transportation,Southwest Forestry University,Kunming 650224,Yunnan,China)
出处
《木材科学与技术》
北大核心
2021年第6期31-37,共7页
Chinese Journal of Wood Science and Technology
基金
国家自然科学基金“基于声发射能量模型的胶合木结构蠕变机理与演变规律研究”(31760182)
国家自然科学基金“基于振动运移的核桃自适应定向破壳机理及果仁损伤状态检测方法”(52165038)
云南省教育厅科学研究基金“基于直线振动的核桃定向输送方式及破壳效果评价”(2019J0186)。