Image Classification
Keras
English
emotion-detection
facial-expression
fer2012
Eval Results (legacy)
Run this model with HF Jobs
Run Goutham204/Emotion_detection on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Goutham204/Emotion_detection. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Goutham204/Emotion_detection on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Goutham204/Emotion_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Goutham204/Emotion_detection with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Goutham204/Emotion_detection") - Notebooks
- Google Colab
- Kaggle
Facial Expression Recognition using CNN (FER-2012 Dataset)
This repository contains a Convolutional Neural Network (CNN) model trained using the FER-2012 dataset to classify facial expressions into seven emotion categories.
Model Details
- Framework: TensorFlow / Keras
- Input: 48x48 grayscale facial image
- Output: Emotion class (0β6)
- Model Format:
.keras(Keras native format)
Emotion Classes
0 β Angry
1 β Disgust
2 β Fear
3 β Happy
4 β Sad
5 β Surprise
6 β Neutral
- Downloads last month
- 16
Evaluation results
- Accuracy on FER-2012self-reported0.840