Downloads · 30 days
6
12% of all-time downloads
karpos26/karpos-downscaling-baronnies
karpos-downscaling-baronnies is a image-to-image model from karpos26. Use it when you need one image transformed into another. It is set up for pytorch. The card lists the license as cc-by-4.0.
Reference weights for the residual U-Net with FiLM-conditioned terrain modulation described in:
Downloads · 30 days
6
12% of all-time downloads
All-time downloads
51
Public
Repo size
76.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors76.2 MB · 100%
From the Hugging Face model README
Reference weights for the residual U-Net with FiLM-conditioned terrain modulation described in:
Code repository: https://github.com/maurinl26/downscaling
Four-level U-Net (≈ 19 M parameters; exactly 19,053,030 across 246 tensors) with FiLM modulation x ← γ(DEM) · x + β(DEM) applied at every encoder and decoder level. A small pyramidal DEM encoder produces spatially-varying (γ_ℓ, β_ℓ) maps shared between encoder and decoder. The output is residual: ŷ = t2m_input + δ(x_met, DEM). Training combines a reanalysis target (stage A) with tail-weighted in-situ supervision against Sencrop minima (stage C).
Training period: 2015–2021 (TRAIN). DEV held-out: 2022–2025. PURE TEST 2026 reserved for a single end-of-cycle evaluation.
| Metric | Value |
|---|---|
| ROC-AUC | 0.964 |
| POD @ FAR < 0.20 | 0.316 (raw output) / 0.611 (with per-station in-sample debias, indicative upper bound) |
| RMSE (Tmin) | reported in the GMD companion paper |
All figures averaged over 5 seeds with bootstrap confidence intervals. See the GMD paper §6 for the complete table, ablations, and pairwise McNemar tests against the QDM statistical baseline.
from downscaling.hub import load_baronnies_v1
model = load_baronnies_v1(device="cuda")
# model: torch.nn.Module ready for inference
# expected input shape: (B, C_meteo + C_dem, H, W) with H × W = 168 × 120
For the full evaluation harness, baselines, and Hydra configurations, see the GitHub repository.
Software release:
@software{karpos_downscaling_baronnies_v1,
author = {Maurin, Loïc},
title = {karpos-downscaling — Baronnies v1},
year = 2026,
version = {v1.0.0},
doi = {10.5281/zenodo.20783563},
url = {https://huggingface.co/karpos26/karpos-downscaling-baronnies}
}
Companion papers — see CITATION.cff in the GitHub repository.
Weights released under Creative Commons Attribution 4.0 (CC-BY 4.0). Code in the companion GitHub repository released under Apache 2.0. The Sencrop sensor data used during training is proprietary and is not redistributed with these weights; retraining requires an independent Sencrop usage agreement.
Loïc Maurin (External Lecturer in Stochastic Filtering, École Nationale de la Météorologie, Météo-France, Toulouse).
This work was conducted in the context of the Karpos project. The author thanks Sencrop for sensor-network access, Copernicus for CERRA and ERA5-Land, and the SURFEX/AROME development teams at Météo-France/CNRM.
The Baronnies weights are released as a public reference MVP: they support reproducibility of the JOSS and GMD papers and academic follow-up work, without exposing any commercially calibrated configuration. Region-specific production weights (Côtes du Rhône and beyond) will be released publicly after the commercial moat is built in each region (typically T+18 to T+24 months after the first signed insurance contract, one validated frost season, and a renewed customer cycle).