Instructions to use BAAI/seggpt-vit-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/seggpt-vit-large with Transformers:
# Load model directly from transformers import AutoImageProcessor, SegGptForImageSegmentation processor = AutoImageProcessor.from_pretrained("BAAI/seggpt-vit-large") model = SegGptForImageSegmentation.from_pretrained("BAAI/seggpt-vit-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
0.456,
|
| 8 |
0.406
|
| 9 |
],
|
| 10 |
-
"image_processor_type": "
|
| 11 |
"image_std": [
|
| 12 |
0.229,
|
| 13 |
0.224,
|
|
|
|
| 7 |
0.456,
|
| 8 |
0.406
|
| 9 |
],
|
| 10 |
+
"image_processor_type": "SegGptImageProcessor",
|
| 11 |
"image_std": [
|
| 12 |
0.229,
|
| 13 |
0.224,
|