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")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Xrenya/pvt-tiny-224") model = AutoModelForImageClassification.from_pretrained("Xrenya/pvt-tiny-224") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
| 28 |
4,
|
| 29 |
4
|
| 30 |
],
|
| 31 |
-
"model_type": "
|
| 32 |
"num_attention_heads": [
|
| 33 |
1,
|
| 34 |
2,
|
|
|
|
| 28 |
4,
|
| 29 |
4
|
| 30 |
],
|
| 31 |
+
"model_type": "pvt",
|
| 32 |
"num_attention_heads": [
|
| 33 |
1,
|
| 34 |
2,
|