Image Classification
Transformers
PyTorch
TensorBoard
swin
Generated from Trainer
Eval Results (legacy)
Instructions to use sasha/swin-tiny-finetuned-dogfood with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sasha/swin-tiny-finetuned-dogfood with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="sasha/swin-tiny-finetuned-dogfood") 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("sasha/swin-tiny-finetuned-dogfood") model = AutoModelForImageClassification.from_pretrained("sasha/swin-tiny-finetuned-dogfood", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -28,7 +28,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 28 |
|
| 29 |
# swin-tiny-finetuned-dogfood
|
| 30 |
|
| 31 |
-
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the
|
| 32 |
It achieves the following results on the evaluation set:
|
| 33 |
- Loss: 0.1959
|
| 34 |
- Accuracy: 0.988
|
|
|
|
| 28 |
|
| 29 |
# swin-tiny-finetuned-dogfood
|
| 30 |
|
| 31 |
+
This model is a fine-tuned version of [microsoft/swin-tiny-patch4-window7-224](https://huggingface.co/microsoft/swin-tiny-patch4-window7-224) on the lewtun/dog_food dataset.
|
| 32 |
It achieves the following results on the evaluation set:
|
| 33 |
- Loss: 0.1959
|
| 34 |
- Accuracy: 0.988
|