Image Classification
Transformers
TensorBoard
Safetensors
swin
Generated from Trainer
Eval Results (legacy)
Instructions to use ozair23/swin-tiny-patch4-window7-224-finetuned-plantdisease with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ozair23/swin-tiny-patch4-window7-224-finetuned-plantdisease with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ozair23/swin-tiny-patch4-window7-224-finetuned-plantdisease") 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("ozair23/swin-tiny-patch4-window7-224-finetuned-plantdisease") model = AutoModelForImageClassification.from_pretrained("ozair23/swin-tiny-patch4-window7-224-finetuned-plantdisease", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
license: apache-2.0
|
|
|
|
| 4 |
base_model: microsoft/swin-tiny-patch4-window7-224
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
license: apache-2.0
|
| 4 |
+
inference: true
|
| 5 |
base_model: microsoft/swin-tiny-patch4-window7-224
|
| 6 |
tags:
|
| 7 |
- generated_from_trainer
|