Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use yangswei/visual-emotion-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yangswei/visual-emotion-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="yangswei/visual-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("yangswei/visual-emotion-classification") model = AutoModelForImageClassification.from_pretrained("yangswei/visual-emotion-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 2
Browse files
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343242432
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f55f7ea13b37ca53a9e14b74b33c8668881be710473530dd3fdc0a889b1b779b
|
| 3 |
size 343242432
|
runs/Feb08_07-30-52_3bb50a863581/events.out.tfevents.1707377471.3bb50a863581.3767.9
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d482d6cf7a641d0600f6fb1dd542831fa61c7489cda0a2b92346f9e5a57ef340
|
| 3 |
+
size 5100
|