Image Classification
timm
Safetensors
image classification
emotion-recognition
PyTorch
Transformers
Safetensors
DeiT
Instructions to use Simon14142/emotion-recognition-4class-deit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use Simon14142/emotion-recognition-4class-deit with timm:
import timm model = timm.create_model("hf_hub:Simon14142/emotion-recognition-4class-deit", pretrained=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "architecture": "deit-base-patch16-224", | |
| "num_classes": 4, | |
| "num_features": 1024, | |
| "global_pool": "avg", | |
| "label_names": ["Optimistic", "Pessimistic", "Hostile", "Neutral"], | |
| "pretrained_cfg": { | |
| "tag": "custom", | |
| "custom_load": false, | |
| "input_size": [3, 224, 224], | |
| "fixed_input_size": true, | |
| "interpolation": "bicubic", | |
| "crop_pct": 0.9, | |
| "crop_mode": "center", | |
| "mean": [0.485, 0.456, 0.406], | |
| "std": [0.229, 0.224, 0.225], | |
| "num_classes": 4, | |
| "pool_size": [7, 7], | |
| "first_conv": "patch_embed.proj", | |
| "classifier": "head.fc" | |
| } | |
| } | |