Instructions to use shrikant11/segment2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shrikant11/segment2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="shrikant11/segment2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("shrikant11/segment2") model = AutoModelForImageClassification.from_pretrained("shrikant11/segment2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a2ceecc
1
Parent(s): 9dc168a
First model version
Browse files
pytorch_model.bin → segformer_model.pth
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1dc36919a8261c799057a67c7f837521fc5d245e92d4b0c49a61a05e8582f01c
|
| 3 |
+
size 338941109
|