Instructions to use Xrenya/pvt-tiny-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xrenya/pvt-tiny-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Xrenya/pvt-tiny-224") 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("Xrenya/pvt-tiny-224") model = AutoModelForImageClassification.from_pretrained("Xrenya/pvt-tiny-224", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -2060,7 +2060,7 @@
|
|
| 2060 |
"yurt": 915,
|
| 2061 |
"zebra": 340,
|
| 2062 |
"zucchini, courgette": 939
|
| 2063 |
-
}
|
| 2064 |
"torch_dtype": "float32",
|
| 2065 |
"transformers_version": "4.25.0.dev0"
|
| 2066 |
}
|
|
|
|
| 2060 |
"yurt": 915,
|
| 2061 |
"zebra": 340,
|
| 2062 |
"zucchini, courgette": 939
|
| 2063 |
+
},
|
| 2064 |
"torch_dtype": "float32",
|
| 2065 |
"transformers_version": "4.25.0.dev0"
|
| 2066 |
}
|