Download README.md from Diaa241/EO-JEPA: direct link, hf CLI and curl.
- Browser
- Download file 5.28 kB
-
https://huggingface.co/Diaa241/EO-JEPA/resolve/main/README.md
- Command line
-
hf download hf://Diaa241/EO-JEPA/README.md
-
curl -L -o README.md https://huggingface.co/Diaa241/EO-JEPA/resolve/main/README.md
license: mit
library_name: pytorch
pipeline_tag: other
tags:
- earth-observation
- remote-sensing
- sentinel-2
- world-model
- jepa
- forecasting
- vegetation
- earthnet2021
datasets:
- earthnet2021
EO-JEPA: Learning Long-Horizon Dynamics of Earth Observation
Paper (arXiv, coming soon) · Project page · Code
Diaa Addeen Abuhani, Mohamed Atef Abouelhadid, Muhammad Akhtar Munir, Hiyam Debary, Fahad Shahbaz Khan, Salman Khan
EO-JEPA forecasts Sentinel-2 imagery over months to years. It is an action-conditioned latent world model: the land surface is a latent state, daily ERA5-Land weather is the action that drives it, and a block-causal predictor rolls the state forward entirely in latent space. Pixels are decoded only at the output; the rollout itself does not reconstruct images.
Results
On EarthNet2021 and the EO-WM benchmarks (official EarthNetScore; details in the paper):
| +4.4 | ENS points over the best learned model on the 700-day Seasonal track (0.263 vs. 0.219) |
| +0.8 | ENS points on the 200-day Extreme track (0.282 vs. 0.274) |
| +1.7 | ENS points on Extreme Summer (0.271 vs. 0.254) |
| 2× | EO-WM's correlation between predicted and observed year-to-year change (PDC 0.587 vs. 0.294) |
Files
| File | Size | What it is |
|---|---|---|
eo_jepa_predictor.pt |
100 MB | Action-conditioned predictor $f_\theta$ (25M parameters, V-JEPA 2-AC architecture, V-JEPA 2 initialisation, seed 0) with its weather encoder $g_\phi$, Tessera context projection and output heads. Includes the training config. |
eovae_aligned.pt |
382 MB | EO-VAE with the decoder aligned to the predictor's rollout forecasts on the EarthNet2021 training cubes. This is the decoder used for the headline results. |
eovae_finetuned.pt |
382 MB | EO-VAE fine-tuned on EarthNet2021 imagery (frozen-decoder operating point). Its encoder produces the input tokens $v_k$ (identical to the encoder in eovae_aligned.pt). |
config.yaml |
Training config of the predictor. |
All .pt files are plain dictionaries of tensors and load with torch.load(..., weights_only=True).
Not included, downloaded from their original sources by code/scripts/download_weights.py:
DOFA ViT-B/16 (earthflow/DOFA, CC-BY-4.0) and the EO-VAE base weights/config (nilsleh/eo-vae, Apache-2.0).
Model
| Component | Trained? | |
|---|---|---|
| DOFA ViT-B/16, blocks 4/8/12 | semantic tokens $z_k$ (2304-d per patch) | frozen |
| EO-VAE encoder | decodable tokens $v_k$ (2 × 128-d per patch) | frozen (fine-tuned once beforehand) |
| Weather encoder $g_\phi$ | 15 ERA5-Land variables, 90 antecedent days → one action token per 10-day step | trained |
| Predictor $f_\theta$ | 12 blocks, width 384, block-causal, 3D RoPE | trained |
| EO-VAE decoder | $\hat v$ → reflectance (R, G, B, NIR) | frozen or aligned |
Inputs per 10-day step: 2 Sentinel-2 frames (128 × 128 px, 20 m), cloud mask, DEM, date, and the previous year's Tessera embedding as land-surface context. Long horizons use chunked rollout of 100-day chunks.
Scores of this checkpoint (seed 0, aligned decoder)
| Benchmark | Metric | EO-JEPA |
|---|---|---|
| EarthNet2021 IID / OOD (100 d) | ENS | 0.329 / 0.320 |
| EarthNet2021 Extreme (200 d) | ENS | 0.282 |
| EarthNet2021 Seasonal (700 d) | ENS | 0.263 |
| EO-WM Extreme Summer | ENS | 0.271 |
| EO-WM Seasonal pairs | ENS / DHR / PDC | 0.317 / 0.760 / 0.587 |
Quickstart
git clone https://github.com/Diaa340/EO-JEPA && cd EO-JEPA/code
export EOJ_ROOT=/path/to/data # data root (EarthNet2021, ERA5-Land, Tessera, weights)
EOJ_ROOT=$EOJ_ROOT bash cluster/setup.sh # rewrites paths, creates the Python env (code/.env)
.env/bin/python scripts/download_weights.py --root $EOJ_ROOT
# from the code/ folder of the repository
from models.world_model import WorldModel
wm = WorldModel.load(f"{EOJ_ROOT}/runs/stage2_ac_hybrid_frozen/best.pt", "cuda")
Data preparation and the evaluation commands that reproduce the tables are in the GitHub README.
Intended use and limitations
Research on land-surface forecasting and weather response. Forecasts are driven by the observed ERA5-Land weather of the forecast period (as in the EarthNet protocol), so they measure how the land surface follows known weather, not operational forecast skill. The model is deterministic and underestimates the largest vegetation drops. Training and evaluation data cover Europe at 20 m resolution; transfer to other regions is untested.
Licence
MIT for the EO-JEPA predictor and code. The EO-VAE files are fine-tuned from EO-VAE (Apache-2.0) and are distributed under the Apache-2.0 terms; the predictor architecture and initialisation come from V-JEPA 2 (MIT). DOFA (CC-BY-4.0) is not redistributed.
Citation
@article{abuhani2026eojepa,
title = {{EO-JEPA}: Learning Long-Horizon Dynamics of {Earth} Observation},
author = {Abuhani, Diaa Addeen and Abouelhadid, Mohamed Atef and
Munir, Muhammad Akhtar and Debary, Hiyam and
Khan, Fahad Shahbaz and Khan, Salman},
journal = {arXiv preprint},
year = {2026}
}