All models

SpectralEarth

ResNet-50 with a 1D-convolution spectral adapter in place of its stem, for EnMAP hyperspectral imagery.

Image classification · 214 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 (27 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
24.2M
Operations
214
Framework
PyTorch
Recurrent
No
Published
IEEE JSTARS 2025
Cited by
55 (as of 29 October 2026)
Authors
Nassim Ait Ali Braham, Conrad M Albrecht, Julien Mairal and others
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
m20547
Graph hash
2c6a433561828c72ce90b5e573d222eddadf55ad82e281da40c0a2e9bb2ff6d8
Skeleton hash
1a020111d9b923c722471cab88eb4945fd5a164b94564d79d6bd448534d48871
Architecture hash
cc96fa13452dc1de830e8321b7c2f9c72a2f8a62e27ca3775b37b10192b96600
Diagram SHA-256
bc9d5048f5708e19671183e68cfcd1055f743dbd216cecf61a53b5a81bd6ad3c
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

SpectralEarth is a large-scale hyperspectral dataset collected from the EnMAP satellite mission. The SpectralEarth models are classical vision backbones fitted with a spectral adapter and pretrained on it. This model is the spectral ResNet-50. The dataset holds 538,974 patches of 128×128 pixels at 415,153 locations. Each image has 202 bands.

The paper observes that classical ResNets and ViTs treat spectral bands independently and fail to capture the correlations between adjacent bands. Its answer is a Spectral Adapter at the start of the backbone, made of three (1D Conv + BN + ReLU) layers. These layers convolve across the spectral dimension and generate feature maps for the core backbone. The resulting feature maps have 128 channels. In the spectral ResNet the adapter replaces the stem layers, which avoids the 4× downscaling of the image.

Pretraining uses three self-supervised algorithms: MoCo-V2, DINO and MAE. For evaluation the paper builds nine downstream datasets for land-cover, crop-type mapping and tree-species classification. For the spectral ResNet-50, the repository's model card lists MoCo-V2 and DINO pretraining and about 23M parameters.

Key idea. The paper builds SpectralEarth, a large EnMAP hyperspectral pretraining dataset, and pretrains classical vision backbones fitted with a spectral adapter on it using self-supervised learning.

  • SpectralEarth
  • Spectral Earth
  • Spec. RN50
  • spectral ResNet-50
  • hyperspectral foundation model
  • hyperspectral imaging
  • EnMAP
  • remote sensing backbone
  • spectral adapter

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

Cite the paper

@misc{braham2025spectralearthtraininghyperspectralfoundation,
      title={SpectralEarth: Training Hyperspectral Foundation Models at Scale}, 
      author={Nassim Ait Ali Braham and Conrad M Albrecht and Julien Mairal and Jocelyn Chanussot and Yi Wang and Xiao Xiang Zhu},
      year={2025},
      eprint={2408.08447},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      doi={https://doi.org/10.1109/JSTARS.2025.3581451},
      url={https://arxiv.org/abs/2408.08447}, 
}