Image Classification
Transformers
PyTorch
English
emotion-detection
facial-expressio
deep-learning
cnn
Instructions to use ravi86/mood_detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ravi86/mood_detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ravi86/mood_detector") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ravi86/mood_detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create requirements.txt
Browse files- requirements.txt +3 -0
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch>=1.9.0
|
| 2 |
+
transformers>=4.20.0
|
| 3 |
+
pillow>=8.0.0
|