Feature Extraction
Transformers
Safetensors
sam_vision_model
remote-sensing
computer-vision
vision-transformer
sam
building-extraction
change-detection
foundation-model
Instructions to use BiliSakura/RSBuilding-ViT-B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BiliSakura/RSBuilding-ViT-B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="BiliSakura/RSBuilding-ViT-B")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("BiliSakura/RSBuilding-ViT-B") model = AutoModelForMultimodalLM.from_pretrained("BiliSakura/RSBuilding-ViT-B") - Notebooks
- Google Colab
- Kaggle
| { | |
| "image_processor_type": "SamImageProcessor", | |
| "do_resize": true, | |
| "size": { | |
| "longest_edge": 512 | |
| }, | |
| "resample": 2, | |
| "do_rescale": true, | |
| "rescale_factor": 0.00392156862745098, | |
| "do_normalize": true, | |
| "image_mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "image_std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "do_convert_rgb": true, | |
| "do_pad": false | |
| } | |