{'fraction_non_alphanumeric': 0.02535211267605634, 'fraction_numerical': 0.007746478873239437, 'mean_word_length': 5.702830188679245, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multiscale residual weakly dense network with attention mechanism for hyperspectral image classification

Abstract. Hyperspectral image (HSI) classification is a procedure of interest in remote sensing. HSIs contain complex spectral and spatial information, so classification tasks remain difficult. Although current deep-learning models have made significant progress in HSI classification, dealing with spectral and spatial information still requires careful investigation. To better manage spectral and spatial information and improve classification accuracy, we introduce a multiscale residual weakly dense network with an attention mechanism. First, we designed two residual weakly dense (Res-WDens) branches to extract spectral and spatial feature information and then applied the Concat method to fuse the two kinds of information. We also designed a plug-and-play hybrid attention module to refine the fused information so the network could focus on the essential spectral and spatial features. Finally, considering the relevance of spectral and spatial information, a dual-channel multiscale feature extraction module was used to extract the spectral–spatial multiscale information of HSIs. The overall accuracies of our proposed method reached 99.76%, 99.97%, and 100% on three publicly available datasets. A series of experiments demonstrated that our method is comparable to current state-of-the-art methods.