Feature Extraction
Transformers
Safetensors
English
remote-sensing
earth-observation
self-supervised-learning
semantic-segmentation
vision
s5
s4p
vit
Instructions to use BiliSakura/S5-transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BiliSakura/S5-transformers with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BiliSakura/S5-transformers")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BiliSakura/S5-transformers", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download ViT-B/preprocessor_config.json from BiliSakura/S5-transformers: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/BiliSakura/S5-transformers/resolve/main/ViT-B/preprocessor_config.json
- Command line
-
hf download hf://BiliSakura/S5-transformers/ViT-B/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/BiliSakura/S5-transformers/resolve/main/ViT-B/preprocessor_config.json
432 Bytes
| { | |
| "image_processor_type": "S5ImageProcessor", | |
| "size": { | |
| "height": 512, | |
| "width": 512 | |
| }, | |
| "do_resize": false, | |
| "do_rescale": true, | |
| "rescale_factor": 0.00392156862745098, | |
| "do_normalize": true, | |
| "do_convert_rgb": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "auto_map": { | |
| "AutoImageProcessor": "image_processing_s5.S5ImageProcessor" | |
| } | |
| } | |