In this paper, we adopt the Efficientnet B7 model, which is an excellent performer in deep learning algorithms, and improve it by combining with the Spatial Group Enhancement attention mechanism to provide an innovative method for underwater biological image classification. After a reasonable division of the dataset, we introduced the improved Efficientnet B7 model for training. By observing the change of the loss curve on the training set, it can be seen that the loss value of the model gradually decreases from 0.6 to 0.05 and tends to be stable, which indicates that the classification prediction of the model is gradually close to the real result, and it can classify the underwater marine organisms images effectively. The accuracy on the training set gradually increases from the initial 80.12% to 98.31%, and the recall also grows from 75.82% to 98.93%, showing that the model predicts well. The performance on the test set shows an accuracy of 84.86%, a recall of 82.40%, and an F1 value of 80.2%, indicating that the model has good generalisation ability. This means that our proposed improved methods and ideas have achieved significant results in the task of underwater biological image classification, providing a useful reference for research in related fields. By comparing the experimental results, it can be seen that the optimisation of the Efficientnet B7 model by introducing the Spatial Group Enhancement attention mechanism achieves better performance in the underwater marine organisms image classification task, which lays the foundation for the future application of deep learning in underwater environments. This study is of positive significance for the promotion of underwater biology research, marine protection and other fields, and provides new ideas and methods for carrying out more in-depth related research.
Read full abstract