{"title":"BAMBOO DEFECT CLASSIFICATION BASED ON IMPROVED TRANSFORMER NETWORK","authors":"Junfeng Hu, Xi Yu, Yafeng Zhao","doi":"10.37763/wr.1336-4561/67.3.501510","DOIUrl":null,"url":null,"abstract":"Deep learning-based methods, especially convolutional neural networks (CNNs), have shown their effectiveness for image classification. In this paper, vision transformer technology is used to classify the surface defects of processed bamboo, which can be more quick and accurate compared with the low efficiency of manual identification. In the first step, we replace the activation function from Gelu to Mish in the encoder part, but the classification performance is not satisfied. Then, to get a better classification results, we keep the original activation function and introduce the DropBlock. Compared with dropout, DropBlock can obtain better classification accuracy. Finally, compared with the results after transfer learning, it is proved that replacing dropout with DropBlock can improve the classification accuracy. The results on the bamboo chip datasets show that the accuracy of this method is 2% higher than the original transformer network whether using transfer learning.","PeriodicalId":23786,"journal":{"name":"Wood Research","volume":" ","pages":""},"PeriodicalIF":0.9000,"publicationDate":"2022-06-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Wood Research","FirstCategoryId":"88","ListUrlMain":"https://doi.org/10.37763/wr.1336-4561/67.3.501510","RegionNum":4,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MATERIALS SCIENCE, PAPER & WOOD","Score":null,"Total":0}
引用次数: 0
Abstract
Deep learning-based methods, especially convolutional neural networks (CNNs), have shown their effectiveness for image classification. In this paper, vision transformer technology is used to classify the surface defects of processed bamboo, which can be more quick and accurate compared with the low efficiency of manual identification. In the first step, we replace the activation function from Gelu to Mish in the encoder part, but the classification performance is not satisfied. Then, to get a better classification results, we keep the original activation function and introduce the DropBlock. Compared with dropout, DropBlock can obtain better classification accuracy. Finally, compared with the results after transfer learning, it is proved that replacing dropout with DropBlock can improve the classification accuracy. The results on the bamboo chip datasets show that the accuracy of this method is 2% higher than the original transformer network whether using transfer learning.
期刊介绍:
Wood Research publishes original papers aimed at recent advances in all branches of wood science (biology, chemistry, wood physics and mechanics, mechanical and chemical processing etc.). Submission of the manuscript implies that it has not been published before and it is not under consideration for publication elsewhere.