BiliSakura / SkySense-transformers

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

Introduction of SkySense-transformers

Model Details of SkySense-transformers

SkySense Transformers

HuggingFace-compatible checkpoints for the SkySense (CVPR 2024) foundation model backbones.

Checkpoints
Directory Modality Architecture Source
skysense-swinv2-huge-rgb High-res optical (RGB) SwinV2 Huge skysense_model_backbone_hr.pth
skysense-vit-large-s2 Sentinel-2 ViT-Large skysense_model_backbone_s2.pth
skysense-vit-large-s1 Sentinel-1 SAR ViT-Large skysense_model_backbone_s1.pth

Each subdirectory is a self-contained HuggingFace model repo with remote code ( trust_remote_code=True ).

Usage
from transformers import pipeline
import torch

# HR RGB backbone — input 224×224
hr_pipe = pipeline(
    task="image-feature-extraction",
    model="/path/to/SkySense-transformers/skysense-swinv2-huge-rgb",
    trust_remote_code=True,
    device="cpu",
)
hr_img = torch.randn(1, 3, 224, 224)
features = hr_pipe(hr_img)
print(features["last_hidden_state"].shape)  # (1, 2816, 7, 7)

# Sentinel-2 — 10 bands, 64×64
s2_pipe = pipeline(
    task="image-feature-extraction",
    model="/path/to/SkySense-transformers/skysense-vit-large-s2",
    trust_remote_code=True,
    device="cpu",
)
s2_img = torch.randn(1, 10, 64, 64)
features = s2_pipe(s2_img)
print(features["last_hidden_state"].shape)  # (1, 1024, 16, 16)

# Sentinel-1 — VV/VH, 64×64
s1_pipe = pipeline(
    task="image-feature-extraction",
    model="/path/to/SkySense-transformers/skysense-vit-large-s1",
    trust_remote_code=True,
    device="cpu",
)
s1_img = torch.randn(1, 2, 64, 64)
features = s1_pipe(s1_img)
print(features["last_hidden_state"].shape)
Conversion

Source project: /home/czy/local/projects/SkySense-transformers

conda activate rsgen

python scripts/convert_checkpoint_to_hf.py \
  --input-path /path/to/skysense_model_backbone_hr.pth \
  --modality hr \
  --output-dir /path/to/skysense-swinv2-huge-rgb \
  --clean-output

python scripts/convert_checkpoint_to_hf.py \
  --input-path /path/to/skysense_model_backbone_s2.pth \
  --modality s2 \
  --output-dir /path/to/skysense-vit-large-s2 \
  --clean-output

python scripts/convert_checkpoint_to_hf.py \
  --input-path /path/to/skysense_model_backbone_s1.pth \
  --modality s1 \
  --output-dir /path/to/skysense-vit-large-s1 \
  --clean-output

The converter also accepts unified pretraining checkpoints with backbone_gep.* / backbone_s2.* / backbone_s1.* prefixes.

Notes
  • HR conversion skips Swin relative-position buffers ( relative_position_index , relative_coords_table ) and mask_token . Buffers are deterministically recomputed at init; learned CPB weights are loaded.
  • ViT checkpoints use per-layer ln1 / ln2 keys remapped to norm1 / norm2 .
  • Swin FFN keys ffn.layers.0.0 → ffn.layers.0 , ffn.layers.1 → ffn.layers.3 .
  • HR Swin uses pad_small_map=True so 224×224 inputs work with window size 8 at deep stages.

Runs of BiliSakura SkySense-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 SkySense-transformers huggingface.co Model

More SkySense-transformers license Visit here:

https://choosealicense.com/licenses/apache-2.0

SkySense-transformers huggingface.co

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

SkySense-transformers huggingface.co Url

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

BiliSakura SkySense-transformers online free

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

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

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

SkySense-transformers install

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

SkySense-transformers install url in huggingface.co:

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

Url of SkySense-transformers

SkySense-transformers huggingface.co Url

Provider of SkySense-transformers huggingface.co

BiliSakura
ORGANIZATIONS

Other API from BiliSakura

huggingface.co

Total runs: 130
Run Growth: 89
Growth Rate: 67.94%
Updated:February 16 2026
huggingface.co

Total runs: 29
Run Growth: -11
Growth Rate: -37.93%
Updated:February 16 2026
huggingface.co

Total runs: 16
Run Growth: 9
Growth Rate: 56.25%
Updated:March 09 2026
huggingface.co

Total runs: 8
Run Growth: -10
Growth Rate: -100.00%
Updated:March 09 2026
huggingface.co

Total runs: 8
Run Growth: 5
Growth Rate: 62.50%
Updated:March 09 2026
huggingface.co

Total runs: 2
Run Growth: -3
Growth Rate: -100.00%
Updated:March 09 2026