The invention discloses a lightweight
hyperspectral image classification method, which comprises the following steps: constructing an overall network including a 3D grouping multi-scale
feature extraction network and a 2D grouping multi-scale
feature extraction network, performing multi-scale
feature extraction, and extracting hierarchical features of a hyperspectral image; the 3D grouping multi-scale feature extraction network comprises grouping
convolution and 3D depth separable
convolution, channels are grouped, and network parameters are reduced while the
network classification performance is kept; the 2D packet multi-scale feature extraction network comprises an attention mechanism module and a 2D depth separable network, and the attention module selectively emphasizes spectral information features and recalibrates spectral feature responses through compression and activation operations; fusing the improved residual
network module and the 2D deep separable module to construct a
network structure with prominent generalization ability; and sending an output result into a classifier through a global
pooling layer for final classification, and outputting a result. According to the invention, the 3D grouping feature extraction module and the 2D grouping feature extraction module are subjected to serial
processing to obtain rich spatial-spectral features at the same time, and the grouping
convolution and the depth separable convolution are introduced to achieve the effect of network lightweight, so that the classification precision is improved, and the low network parameters are ensured at the same time.