Instructions to use facebook/convnextv2-tiny-22k-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/convnextv2-tiny-22k-384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/convnextv2-tiny-22k-384") 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("facebook/convnextv2-tiny-22k-384") model = AutoModelForImageClassification.from_pretrained("facebook/convnextv2-tiny-22k-384") - Inference
- Notebooks
- Google Colab
- Kaggle
Update config.json
#1
by adirik - opened
- config.json +1 -1
config.json
CHANGED
|
@@ -1018,7 +1018,7 @@
|
|
| 1018 |
"998": "ear, spike, capitulum",
|
| 1019 |
"999": "toilet tissue, toilet paper, bathroom tissue"
|
| 1020 |
},
|
| 1021 |
-
"image_size":
|
| 1022 |
"initializer_range": 0.02,
|
| 1023 |
"label2id": {
|
| 1024 |
"Afghan hound, Afghan": 160,
|
|
|
|
| 1018 |
"998": "ear, spike, capitulum",
|
| 1019 |
"999": "toilet tissue, toilet paper, bathroom tissue"
|
| 1020 |
},
|
| 1021 |
+
"image_size": 384,
|
| 1022 |
"initializer_range": 0.02,
|
| 1023 |
"label2id": {
|
| 1024 |
"Afghan hound, Afghan": 160,
|