Instructions to use microsoft/cvt-21-384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/cvt-21-384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="microsoft/cvt-21-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("microsoft/cvt-21-384") model = AutoModelForImageClassification.from_pretrained("microsoft/cvt-21-384", device_map="auto") - 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:2a51df60fe8ccc3e60c2a727d512fe79bdea9ce6373a71bb636862aadcacf47d
|
| 3 |
+
size 127615848
|