Instructions to use YuvanKumar/sam-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YuvanKumar/sam-finetuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="YuvanKumar/sam-finetuned")# Load model directly from transformers import AutoProcessor, AutoModelForMaskGeneration processor = AutoProcessor.from_pretrained("YuvanKumar/sam-finetuned") model = AutoModelForMaskGeneration.from_pretrained("YuvanKumar/sam-finetuned") - Notebooks
- Google Colab
- Kaggle
Ankit Kumar commited on
init!
Browse files- requirements.txt +6 -0
requirements.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers==4.11.3
|
| 2 |
+
tensorflow==2.7.0
|
| 3 |
+
numpy==1.21.5
|
| 4 |
+
matplotlib==3.5.1
|
| 5 |
+
Pillow==9.0.1
|
| 6 |
+
opencv-python-headless==4.5.4.58
|