Instructions to use microsoft/cvt-21 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/cvt-21 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/cvt-21") 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("microsoft/cvt-21") model = AutoModelForImageClassification.from_pretrained("microsoft/cvt-21") - Notebooks
- Google Colab
- Kaggle
Add TF weights
#1
by CCMat - opened
- tf_model.h5 +3 -0
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46708edfe91460d2b5c5d975a6985f3a67537341ddf363fcdc1d87b7a57eb6a2
|
| 3 |
+
size 127615848
|