The invention discloses a
small sample image classification method and device fused with saliency enhancement, and the method comprises the steps: firstly
processing an original image, filtering out irrelevant background pixels, enhancing the pixels of an important region of the image, effectively reducing the
overfitting problem caused by insufficient data, and improving the generalization capability of a model. Secondly, generating a saliency
mask by calculating the gradient of each layer of the picture feature and then performing weighted average on the gradients, then directly weighting the saliency
mask to the original picture, and adding the product result to the original picture; by calculating the saliency
mask, errors or deviations existing in the model can be found, then parameters of the model are further adjusted to optimize the model, and by multiplying the original image and the saliency mask
element by element, the attention of the model to the key area of the image is enhanced, and some features are prevented from being excessively amplified on the basis of keeping the overall image information, so that the
image quality is improved. And over-fitting to accidental
noise or background features is avoided, and the transparency and
interpretability of the model are improved.