Have a personal or library account? Click to login
Research on Classification Method of Film Damage Image Based on Improved ResNet50 Cover

Research on Classification Method of Film Damage Image Based on Improved ResNet50

By: Peiqiang Chen and  Shuping Xu  
Open Access
|Jun 2025

Figures & Tables

Figure 1.

CBAM-ResNet50 Network Model
CBAM-ResNet50 Network Model

Figure 2.

CAM Attention Mechanism Diagram
CAM Attention Mechanism Diagram

Figure 3.

Curve between the number of iterations and the accuracy with or without transfer learning
Curve between the number of iterations and the accuracy with or without transfer learning

Figure 4.

Curve between the number of iterations and the loss value with or without transfer learning
Curve between the number of iterations and the loss value with or without transfer learning

Figure 5.

Performance comparison of CBAM-ResNet50 model with different addition modes of attention mechanism
Performance comparison of CBAM-ResNet50 model with different addition modes of attention mechanism

Figure 6.

Confusion Matrix of Film Damage Classification Identification Results on CBAM-ResNet50
Confusion Matrix of Film Damage Classification Identification Results on CBAM-ResNet50

Figure 7.

Film Damage Classification Performance of Different Models
Film Damage Classification Performance of Different Models

Figure 8.

Confusion Matrix of Steel Defect Classification Recognition Results on CBAM-ResNet50
Confusion Matrix of Steel Defect Classification Recognition Results on CBAM-ResNet50

Film Damage Classification and Identification Results of CBAM-ResNet50 Model

Damage categoryAccuracy (%)Accuracy (%)Recall (%)F1 Fraction
Crack95.0295.9996.6996.34
Dewetting96.2196.7896.49
Particles93.9891.9092.93
Scratches88.0185.9886.98

Steel Defect Classification and Identification Results of CBAM-ResNet50 Model

Damage categoryAccuracy (%)Accuracy (%)Recall (%)F1 Fraction
Press-in of scale95.5696.6796.6796.67
Patch93.3393.3393.33
Cracking96.6796.6796.67
Pit96.6796.6796.67
Impurities93.3393.3393.33
scratches96.6796.6796.67

Four CBAM Attention Mechanism Addition Schemes

ProgrammerAttention mechanism adding method
Option 1Add an attention mechanism after the first convolution layer
Option 2Two attention mechanisms are added after the first and last convolution layer
Option 3Add 1 attention mechanism after the last convolutional layer
Option 4Do not add attention mechanism

Ablation experiments on a test set of self-made film damage images

Original modelTransfer learningCBAM Protocol 1CBAM Scheme 2CBAM Scheme 3CBAM Protocol 4AlphaDrop out +SeLUAlphaDrop out+ReLUAccuracy (%)
65
85.04
85.06
85.12
85.09
85.08
85.17
85.13
85.69
89.16
86.45
85.04
90.58
90.45

Performance comparison of CBAM-ResNet50 model under different activation functions

Activation functionClassification accuracy (%)
AlphaDropout+SeLU90.58
AlphaDropout+ReLU90.45
ReLU89.16

Film Damage Classification Performance of Different Models

ModelTest Set Accuracy (%)Training time (H)Number of parameters
AlexNet63.285757.02×106
GoogLeNet60.594246.88×106
VGG1670.02135130.38×106
VGG1967.19142139.59×106
ResNet1864.322121.80×106
ResNet5065.012525.56×106
ResNet10164.574144.55×106
CBAM-ResNet5090.582323.48×106
Language: English
Page range: 82 - 93
Published on: Jun 13, 2025
Published by: Xi’an Technological University
In partnership with: Paradigm Publishing Services
Publication frequency: 4 issues per year

© 2025 Peiqiang Chen, Shuping Xu, published by Xi’an Technological University
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.