BiliSakura / DOFA-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 DOFA-transformers

Model Details of DOFA-transformers

DOFA Transformers Models

Self-contained HuggingFace model checkpoints for DOFA .

Each checkpoint subfolder ships remote code for model, processor, and pipeline loading with trust_remote_code=True .

Sentinel-2 9-band defaults ( default_wavelengths , default_image_mean , default_image_std ) are baked into config.json and preprocessor_config.json .

Available checkpoints
Folder Hidden size Layers Heads
dofa-base-patch16-224/ 768 12 12
dofa-large-patch16-224/ 1024 24 16
Usage
from transformers import pipeline

MODEL = "/path/to/DOFA-transformers/dofa-base-patch16-224"

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

features = pipe(image_array, pool=True, return_tensors=True)

Override Sentinel-2 defaults for other sensors:

features = pipe(
    image_array,
    wavelengths=[...],
    image_mean=[...],
    image_std=[...],
    pool=True,
    return_tensors=True,
)
Test CLI
conda activate rsgen
python test_dofa.py
python test_dofa.py --model dofa-large-patch16-224
python test_dofa.py --model dofa-base-patch16-224 --no-pool
Dependencies
  • transformers
  • timm
  • torch
  • opencv-python (only when resizing inputs with more than 4 channels)

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

More DOFA-transformers license Visit here:

https://choosealicense.com/licenses/mit

DOFA-transformers huggingface.co

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

DOFA-transformers huggingface.co Url

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

BiliSakura DOFA-transformers online free

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

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

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

DOFA-transformers install

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

DOFA-transformers install url in huggingface.co:

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

Url of DOFA-transformers

DOFA-transformers huggingface.co Url

Provider of DOFA-transformers huggingface.co

BiliSakura
ORGANIZATIONS

Other API from BiliSakura

huggingface.co

Total runs: 85
Run Growth: 34
Growth Rate: 40.00%
Updated:February 16 2026
huggingface.co

Total runs: 23
Run Growth: -16
Growth Rate: -72.73%
Updated:February 16 2026
huggingface.co

Total runs: 16
Run Growth: 6
Growth Rate: 33.33%
Updated:March 09 2026
huggingface.co

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

Total runs: 6
Run Growth: 0
Growth Rate: 0.00%
Updated:March 09 2026
huggingface.co

Total runs: 3
Run Growth: -8
Growth Rate: -400.00%
Updated:March 09 2026