BiliSakura / AnySat-transformers

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: July 08 2026
feature-extraction

Introduction of AnySat-transformers

Model Details of AnySat-transformers

AnySat Transformers Models

Hugging Face–compatible checkpoints converted from the official AnySat GeoPlex-pretrained weights. Each subfolder is a standalone model repo ( config.json , model.safetensors , processor, pipeline, and remote code) for multimodal Earth observation feature extraction.

Model Description

AnySat is a scale-adaptive, multimodal Earth Observation foundation model supporting 11 sensor modalities (aerial, Sentinel-1/2, Landsat, MODIS, etc.) at variable resolutions. The anysat-base checkpoint is the published base encoder (768-dim, 6 layers, 12 heads).

All hyperparameters live in config.json and preprocessor_config.json — Python remote code does not embed global defaults.

Developed by: AnySat Authors
Converted for Hugging Face by: BiliSakura
License (weights): MIT
Original paper: AnySat: One Earth Observation Model for Many Resolutions, Scales, and Modalities (CVPR 2025 Highlight)

Available checkpoints
Folder Size Embed dim Depth Heads Modalities
anysat-base base 768 6 12 11

Legacy source: models/raw/AnySat_full.pth (see conversion_manifest.json ).

Usage

Inputs must be normalized (data - mean) / std per modality when normalize=True in the processor. Set normalization_stats in preprocessor_config.json for your dataset statistics.

Custom pipeline (recommended)
from transformers import pipeline
import numpy as np

MODEL = "/path/to/AnySat-transformers/anysat-base"

pipe = pipeline(
    task="anysat-feature-extraction",
    model=MODEL,
    trust_remote_code=True,
)

# Sentinel-2 time series: (B, T, C, H, W)
s2 = np.random.randn(1, 4, 10, 32, 32).astype(np.float32)
dates = np.array([[100, 120, 140, 160]])

# Tile features (CLS token)
features = pipe(s2=s2, s2_dates=dates, patch_size=10, pool=True, return_tensors=True)
print(features.shape)  # torch.Size([1, 768])

# Patch features
patch_features = pipe(s2=s2, s2_dates=dates, patch_size=10, output="patch", return_tensors=True)
print(patch_features.shape)  # torch.Size([1, 1024, 768])
Multimodal example
pipe = pipeline(task="anysat-feature-extraction", model=MODEL, trust_remote_code=True)

s2 = np.random.randn(1, 4, 10, 32, 32).astype(np.float32)
s1 = np.random.randn(1, 4, 3, 32, 32).astype(np.float32)
features = pipe(
    s2=s2,
    s2_dates=np.array([[100, 120, 140, 160]]),
    s1=s1,
    s1_dates=np.array([[100, 120, 140, 160]]),
    patch_size=10,
    pool=True,
    return_tensors=True,
)
Built-in ImageFeatureExtractionPipeline

AnySatModel returns BaseModelOutputWithPooling , so the registered image-feature-extraction task also works:

pipe = pipeline(
    task="image-feature-extraction",
    model=MODEL,
    trust_remote_code=True,
)
Supported modalities
Key Type Channels Resolution
aerial image 4 0.2 m
aerial-flair image 5 0.2 m
spot image 3 1 m
naip image 4 1.25 m
s2 time series 10 10 m
s1-asc , s1 time series 2–3 10 m
l7 , l8 time series 6–11 10–30 m
alos time series 3 30 m
modis time series 7 250 m

Time-series modalities require {modality}_dates (day-of-year, 0–364). Images must be square. patch_size is in meters (internally divided by 10).

Output modes
output Shape Description
tile [B, 768] CLS / global embedding ( pool=True )
patch [B, H*W, 768] Patch tokens
dense high-res map Dense features for segmentation
all all tokens Full token sequence

Runs of BiliSakura AnySat-transformers on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About AnySat-transformers huggingface.co Model

More AnySat-transformers license Visit here:

https://choosealicense.com/licenses/mit

AnySat-transformers huggingface.co

AnySat-transformers huggingface.co is an AI model on huggingface.co that provides AnySat-transformers's model effect (), which can be used instantly with this BiliSakura AnySat-transformers model. huggingface.co supports a free trial of the AnySat-transformers model, and also provides paid use of the AnySat-transformers. Support call AnySat-transformers model through api, including Node.js, Python, http.

AnySat-transformers huggingface.co Url

https://huggingface.co/BiliSakura/AnySat-transformers

BiliSakura AnySat-transformers online free

AnySat-transformers huggingface.co is an online trial and call api platform, which integrates AnySat-transformers's modeling effects, including api services, and provides a free online trial of AnySat-transformers, you can try AnySat-transformers online for free by clicking the link below.

BiliSakura AnySat-transformers online free url in huggingface.co:

https://huggingface.co/BiliSakura/AnySat-transformers

AnySat-transformers install

AnySat-transformers is an open source model from GitHub that offers a free installation service, and any user can find AnySat-transformers on GitHub to install. At the same time, huggingface.co provides the effect of AnySat-transformers install, users can directly use AnySat-transformers installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

AnySat-transformers install url in huggingface.co:

https://huggingface.co/BiliSakura/AnySat-transformers

Url of AnySat-transformers

AnySat-transformers huggingface.co Url

Provider of AnySat-transformers huggingface.co

BiliSakura
ORGANIZATIONS

Other API from BiliSakura

huggingface.co

Total runs: 131
Run Growth: 99
Growth Rate: 75.57%
Updated:February 16 2026
huggingface.co

Total runs: 26
Run Growth: -16
Growth Rate: -61.54%
Updated:February 16 2026
huggingface.co

Total runs: 16
Run Growth: 8
Growth Rate: 50.00%
Updated:March 09 2026
huggingface.co

Total runs: 7
Run Growth: -17
Growth Rate: -242.86%
Updated:March 09 2026
huggingface.co

Total runs: 6
Run Growth: -1
Growth Rate: -16.67%
Updated:March 09 2026
huggingface.co

Total runs: 2
Run Growth: -6
Growth Rate: -300.00%
Updated:March 09 2026