Feature Extraction
Transformers
Safetensors
English
remote-sensing
earth-observation
vision
dofa
sentinel-2
multimodal
Instructions to use BiliSakura/DOFA-transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BiliSakura/DOFA-transformers with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BiliSakura/DOFA-transformers")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BiliSakura/DOFA-transformers", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 700 Bytes
eb1c9a0 af71ab9 eb1c9a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | {
"image_processor_type": "DOFAImageProcessor",
"size": {
"height": 224,
"width": 224
},
"do_resize": false,
"do_rescale": true,
"do_normalize": true,
"do_convert_rgb": false,
"rescale_factor": 0.00392156862745098,
"auto_map": {
"AutoImageProcessor": "image_processing_dofa.DOFAImageProcessor"
},
"default_wavelengths": [
0.665,
0.56,
0.49,
0.705,
0.74,
0.783,
0.842,
1.61,
2.19
],
"image_mean": [
114.11,
114.82,
126.64,
84.34,
97.85,
103.94,
101.44,
72.33,
56.67
],
"image_std": [
77.84,
69.97,
67.42,
64.57,
61.73,
61.34,
60.3,
47.89,
42.56
]
}
|