Instructions to use tue-mps/coco_instance_eomt_large_640 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tue-mps/coco_instance_eomt_large_640 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="tue-mps/coco_instance_eomt_large_640")# Load model directly from transformers import AutoImageProcessor, EomtForUniversalSegmentation processor = AutoImageProcessor.from_pretrained("tue-mps/coco_instance_eomt_large_640") model = EomtForUniversalSegmentation.from_pretrained("tue-mps/coco_instance_eomt_large_640", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,7 +34,7 @@ from PIL import Image
|
|
| 34 |
from transformers import EomtForUniversalSegmentation, AutoImageProcessor
|
| 35 |
|
| 36 |
|
| 37 |
-
model_id = "
|
| 38 |
processor = AutoImageProcessor.from_pretrained(model_id)
|
| 39 |
model = EomtForUniversalSegmentation.from_pretrained(model_id)
|
| 40 |
|
|
|
|
| 34 |
from transformers import EomtForUniversalSegmentation, AutoImageProcessor
|
| 35 |
|
| 36 |
|
| 37 |
+
model_id = "tue-mps/coco_instance_eomt_large_640"
|
| 38 |
processor = AutoImageProcessor.from_pretrained(model_id)
|
| 39 |
model = EomtForUniversalSegmentation.from_pretrained(model_id)
|
| 40 |
|