Image classification method and system based on lightweight Non-Local
A classification method and a lightweight technology, applied in the direction of neural learning methods, instruments, biological neural network models, etc., can solve problems such as high calculation load, calculation load increase, and large calculation load, so as to achieve compatibility and reduce computational complexity , Simplify the effect of the long connection relationship acquisition method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] This embodiment provides an image classification method based on lightweight Non-Local, please refer to figure 1 , the method includes:
[0040] S1. Input the sample image into a lightweight network, and obtain abstract features after each bottleneck layer of the lightweight network, and the lightweight network includes ShufflenetV2.
[0041] Set the model processing task as an image classification task in computer vision, and divide the image into a training set and a test set according to the general guidelines in image classification tasks, such as CIFAR100, ImageNet. The backbone network used is set to be a lightweight network with limited channels, such as ShufflenetV2. After the image enters the network as input, abstract features are obtained after each bottleneck layer Among them, C, H and W are respectively the number of channels, height and width of feature X, and the present invention enhances this abstract feature.
[0042] S2. Divide the abstract featur...
Embodiment 2
[0079] This embodiment provides a lightweight Non-Local-based image classification system, the system comprising:
[0080] The abstract feature acquisition module M1 is used to input the sample image into the lightweight network, and obtain abstract features after each bottleneck layer of the lightweight network, and the lightweight network includes ShufflenetV2;
[0081] A grouping module M2, configured to divide the abstract features into G groups along the channel dimension;
[0082] The spatial weight acquisition module M3 is used to obtain a spatial weight by convolution for the abstract features of each group, and the spatial weight is the global spatial attention information for the current group;
[0083] The unary long connection feature acquisition module M4 is used to use the global spatial attention information of the current group to perform weighted magnitude conversion on the pixels of the group to obtain the unary long connection feature of the current group; ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


