Skip to content
Other

Satlas ESRGAN ONNX

Super-resolution model exports for satellite imagery

2 min read

This repository provides a collection of ESRGAN models (deep learning models for image upscaling) exported to the ONNX format (a cross-platform format for running AI models) from the Allen Institute for AI project. The models are designed for local 4x super-resolution of satellite images with support for varying numbers of temporal slices and spectral channels. The output is a detailed three-channel RGB image, though fine details are generated by the model rather than physically restored. The tool will be useful for developers and researchers working with satellite data and geospatial analysis.

Key features

  • ONNX Runtime format: Ready-to-use weights for fast execution on various computing backends without heavy PyTorch dependencies.
  • Input flexibility: Support for varying numbers of dates and spectral channels (from standard RGB to extended Sentinel-2 bands).
  • Dynamic size: Input image height and width are not fixed.
  • Accuracy verification: Exported graphs are verified for consistency with the original PyTorch models with minimal error.

What you can do

  • Satellite image processing: Increase the resolution of space and aerial imagery by 4x locally on your hardware.
  • Pipeline integration: Embed the models into remote sensing data processing scripts via ONNX Runtime.
  • Multispectral data analysis: Use specialized files to work with 8-bit RGB or 16-bit Sentinel-2 spectral bands.

Example

The models accept a float32 NCHW tensor input ranging from 0 to 1, where 8-bit channels are divided by 255 and 16-bit Sentinel-2 channels are divided by 8160 followed by clipping.

Read moreDetails
Original weights: Allen Institute for AI (Apache-2.0)
Scientific baseline: Zooming Out on Zooming In (arXiv:2311.18082)
File variants: From 1 to 16 dates for RGB (esrgan_1S2.onnx — esrgan_16S2.onnx) and multispectral variants (esrgan_10m.onnx, esrgan_20m.onnx, esrgan_60m.onnx)
Limitation: Generated details are artistic enhancements by the model, so the data cannot be used for precise physical measurements
Discuss Telegram 0

Will it run?

Working out the memory needs

The bot is still collecting this model's weight sizes; the estimate will appear here in a few minutes. Meanwhile you can rent a GPU with headroom.

Massed ComputeOpen Massed Compute

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # rahuldshetty/satlas-esrgan-onnx
    # ===== Tokens: paste yours between the quotes =====
    export HF_TOKEN=""        # huggingface.co/settings/tokens, for gated models
    # ==========================================
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download rahuldshetty/satlas-esrgan-onnx --local-dir ~/models/satlas-esrgan-onnx
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to satlas-esrgan-onnx
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b41from November 25, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of satlas-esrgan-onnx (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

rahuldshetty/satlas-esrgan-onnx
Author
rahuldshetty
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

00

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments