All models

DBDA

A two-branch 3D CNN with channel and spatial attention for hyperspectral image classification.

Image classification · 95 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (55 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
382.3K
Operations
95
Framework
PyTorch
Recurrent
No
Published
Remote Sensing 12(3):582, 2020
Cited by
520 (as of 26 October 2026)
Authors
Rui Li, Shunyi Zheng, Chenxi Duan and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15550
Graph hash
7da2aa8c650f21560bb4db4dbfe8452533a68a2521ab1458b9e88d0c7d8b96ec
Skeleton hash
69ec4bb5e4f843b10b73c3117e13034e11f7a1aeae5d5e787e855d4b516280ec
Architecture hash
0d7eeb3e0505f6f441955c9616d68ee55f2a8c0a5e00b6218cece78003092f41
Diagram SHA-256
dfc3da51aa08bf592763fcac724435a2fc2f47b8978953528b471dad44441cac
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DBDA, the Double-Branch Dual-Attention mechanism network, classifies the pixels of a hyperspectral image, a kind of remote sensing image with many spectral bands. It uses two branches to extract spectral and spatial features separately, which the paper says reduces interference between the two kinds of features. The paper sets this against SSRN and FDSSC, in which the spectral extractor is in series with the spatial extractor.

Both branches are built from densely connected 3D convolutions. The spectral branch has channel-wise attention, meant to focus on informative spectral characteristics, and the spatial branch has spatial attention, meant to concentrate on informative areas of the input patch. The attention design is motivated by DANet, a self-attention module from scene segmentation. The outputs of the two branches are concatenated and passed to a softmax classifier. The activation function is Mish instead of the conventional ReLU.

The paper evaluates on four hyperspectral datasets, Indian Pines, Pavia University, Salinas Valley and Botswana. Training sets are small: for Indian Pines the authors use 3% of the samples for training and 3% for validation. For Indian Pines the input patch is 9 × 9 pixels with 200 spectral bands.

Key idea. DBDA extracts spectral and spatial features in two separate branches, applies a different attention mechanism to each, and fuses the results for hyperspectral image classification.

  • dbda
  • double-branch dual-attention mechanism network
  • hyperspectral image classification
  • hsi classification
  • spectral-spatial features
  • channel-wise attention
  • spatial-wise attention
  • remote sensing

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Li_2020, title={Classification of Hyperspectral Image Based on Double-Branch Dual-Attention Mechanism Network}, volume={12}, ISSN={2072-4292}, url={http://dx.doi.org/10.3390/rs12030582}, DOI={10.3390/rs12030582}, number={3}, journal={Remote Sensing}, publisher={MDPI AG}, author={Li, Rui and Zheng, Shunyi and Duan, Chenxi and Yang, Yang and Wang, Xiqi}, year={2020}, month=Feb, pages={582} }