Instructions to use Pranjal12345/Classification_Transformers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pranjal12345/Classification_Transformers with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Pranjal12345/Classification_Transformers") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Pranjal12345/Classification_Transformers") model = AutoModelForImageClassification.from_pretrained("Pranjal12345/Classification_Transformers") - Notebooks
- Google Colab
- Kaggle
Commit ·
13b8ce3
1
Parent(s): 9ea1ea6
fds
Browse files- preprocessor_config.json +2 -2
preprocessor_config.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
| 13 |
0.225
|
| 14 |
],
|
| 15 |
"size": {
|
| 16 |
-
"height":
|
| 17 |
-
"width":
|
| 18 |
}
|
| 19 |
}
|
|
|
|
| 13 |
0.225
|
| 14 |
],
|
| 15 |
"size": {
|
| 16 |
+
"height": 224,
|
| 17 |
+
"width": 224
|
| 18 |
}
|
| 19 |
}
|