Instructions to use jhoppanne/Image-Emotion-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jhoppanne/Image-Emotion-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jhoppanne/Image-Emotion-Classification") 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("jhoppanne/Image-Emotion-Classification") model = AutoModelForImageClassification.from_pretrained("jhoppanne/Image-Emotion-Classification") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
a4b798b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:432d4950519a602a72252fd374a8038c69aad70e96a19ccf7e6cf7c0b6232cfa
size 4664
|