All models

SSFTT

A hyperspectral image classifier that tokenizes convolutional features and passes them to a transformer encoder.

Image classification · 49 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 (29 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
153.2K
Operations
49
Framework
PyTorch
Recurrent
No
Published
2022, IEEE Transactions on Geoscience and Remote Sensing, vol. 60, art. 5522214
Cited by
771 (as of 24 October 2026)
Authors
Le Sun, Guangrui Zhao, Yuhui Zheng, Zebin Wu
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
m20138
Graph hash
dd000c0b62fd823c9ff006b6171826d8f057199ae54fea800abf5a3240b890c0
Skeleton hash
0820614fd6d97406d4b03662493e303bff7bfbd7c7fbea684e9e02d0d0417f0f
Architecture hash
edf3ecb66969665bf983ae0aa5498eaacc0933c4b1dea0d937c5d91a0cefa756
Diagram SHA-256
685ca8219eb25b4429238987b85da8d6c7f7fb413cf20792d1e0f734ac2dea31
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

SSFTT, the spectral–spatial feature tokenization transformer, is a model for hyperspectral image classification, where each pixel sample is assigned to a land-cover category. The paper's motivation is that CNN-based methods have limited ability to obtain deep semantic features. It turns to the transformer framework because that framework can represent high-level semantic features well.

The model first extracts shallow spectral and spatial features with a 3-D convolution layer and a 2-D convolution layer. A Gaussian weighted feature tokenizer then transforms those features. The transformed features go into a transformer encoder module for feature representation and learning. A linear layer reads the first learnable token to obtain the sample label. Using three standard datasets, the paper reports less computation time than other deep learning methods and better classification performance than several methods it compares against.

Key idea. SSFTT combines a 3-D and 2-D convolution stem, a Gaussian weighted feature tokenizer and a transformer encoder to capture spectral–spatial and high-level semantic features of hyperspectral images.

  • ssftt
  • spectral-spatial feature tokenization transformer
  • hyperspectral image classification
  • hsi classification
  • hyperspectral transformer
  • land-cover classification
  • remote sensing

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

Cite the paper

@article{Sun_2022, title={Spectral–Spatial Feature Tokenization Transformer for Hyperspectral Image Classification}, volume={60}, ISSN={1558-0644}, url={http://dx.doi.org/10.1109/TGRS.2022.3144158}, DOI={10.1109/tgrs.2022.3144158}, journal={IEEE Transactions on Geoscience and Remote Sensing}, publisher={Institute of Electrical and Electronics Engineers (IEEE)}, author={Sun, Le and Zhao, Guangrui and Zheng, Yuhui and Wu, Zebin}, year={2022}, pages={1–14} }