Instructions to use trpakov/vit-face-expression with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use trpakov/vit-face-expression with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="trpakov/vit-face-expression") 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("trpakov/vit-face-expression") model = AutoModelForImageClassification.from_pretrained("trpakov/vit-face-expression") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
4f96cb7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:17268e15dabb64cd6751b63abb51ac860231374b747f68fbf12a2815c80dd9ef
size 343282353
|