Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use hanslab37/emotion_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hanslab37/emotion_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hanslab37/emotion_classification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("hanslab37/emotion_classification") model = AutoModelForImageClassification.from_pretrained("hanslab37/emotion_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 21
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:6d832459cd4dd62560a10db3f76837139efea4aca7f32610665309aa6b1f4d6asize 343242432123version https://git-lfs.github.com/spec/v1oid sha256:203c70feb6a2f680348f8c0f43ab6e8bb20e903c2ff9716145d17ec290c46d58size 343242432
model.safetensors+1-1