All Projects → JsFlo → EmotionRecTraining

JsFlo / EmotionRecTraining

Licence: other
Python script using Keras + TensorFlow to train a custom machine learning model to recognize faces using a dataset with human faces and labeled with emotions.

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to EmotionRecTraining

Tensorflow-Wide-Deep-Local-Prediction
This project demonstrates how to run and save predictions locally using exported tensorflow estimator model
Stars: ✭ 28 (-6.67%)
Mutual labels:  tensorflow-serving, tensorflow-examples
TF2-GAN
🐳 GAN implemented as Tensorflow 2.X
Stars: ✭ 61 (+103.33%)
Mutual labels:  tensorflow-examples
TensorFlow-Binary-Image-Classification-using-CNN-s
Binary Image Classification in TensorFlow
Stars: ✭ 26 (-13.33%)
Mutual labels:  tensorflow-examples
Age-Gender Estimation TF-Android
Age + Gender Estimation on Android with TensorFlow Lite
Stars: ✭ 34 (+13.33%)
Mutual labels:  tensorflow-examples
tensorflow-fifo-queue-example
Example on how to use a Tensorflow Queue to feed data to your models.
Stars: ✭ 39 (+30%)
Mutual labels:  tensorflow-examples
gans-2.0
Generative Adversarial Networks in TensorFlow 2.0
Stars: ✭ 76 (+153.33%)
Mutual labels:  tensorflow-examples
practical intro to tf2
Building an image classifier in TF2
Stars: ✭ 55 (+83.33%)
Mutual labels:  tensorflow-serving
stock-volatility-google-trends
Deep Learning Stock Volatility with Google Domestic Trends: https://arxiv.org/pdf/1512.04916.pdf
Stars: ✭ 74 (+146.67%)
Mutual labels:  tensorflow-examples
mango
Parallel Hyperparameter Tuning in Python
Stars: ✭ 241 (+703.33%)
Mutual labels:  tensorflow-examples
emnist dl2prod
JuPyter Notebooks and Python Package for Deep Learning Model Exploration, Translation and Deployment
Stars: ✭ 31 (+3.33%)
Mutual labels:  tensorflow-serving
generative-art
🌈🎨 Generative Art is the idea realized as genetic code of artificial events, as construction of dynamic complex systems able to generate endless variations. This is also a nuxt-module (@luxdamore/nuxt-canvas-sketch) - [three.js, tensorflow.js and gsap are not included].
Stars: ✭ 41 (+36.67%)
Mutual labels:  tensorflow-examples
ChineseNER
中文NER的那些事儿
Stars: ✭ 241 (+703.33%)
Mutual labels:  tensorflow-serving
go-mnist-client
TensorFlow serving mnist example client in Go.
Stars: ✭ 16 (-46.67%)
Mutual labels:  tensorflow-examples
tf-examples
TensorFlow examples
Stars: ✭ 23 (-23.33%)
Mutual labels:  tensorflow-examples
TensorFlow20-Notes
TensorFlow 2.0 Various notes and tutorials
Stars: ✭ 14 (-53.33%)
Mutual labels:  tensorflow-examples
deep-learning-in-s4tf
Get started with Swift for TensorFlow by examples
Stars: ✭ 31 (+3.33%)
Mutual labels:  tensorflow-examples
Neural-Turing-Machine
TensorFlow implementation of a Neural Turing Machine
Stars: ✭ 23 (-23.33%)
Mutual labels:  tensorflow-examples
content-moderation-image-api
An NSFW Image Classification REST API for effortless Content Moderation built with Node.js, Tensorflow, and Parse Server
Stars: ✭ 50 (+66.67%)
Mutual labels:  tensorflow-examples
Awesome-Tensorflow2
基于Tensorflow2开发的优秀扩展包及项目
Stars: ✭ 45 (+50%)
Mutual labels:  tensorflow-examples
Manji
Manji is a mobile application built to help people learning Japanese learn about Kanji.
Stars: ✭ 142 (+373.33%)
Mutual labels:  tensorflow-examples

EmotionRecTraining

Python script using Keras + TensorFlow to train a custom machine learning model to recognize faces using a dataset with human faces and labeled with emotions.

I wrote an article explaining this script and model architecture and that can be found here: https://medium.com/@jsflo.dev/training-a-tensorflow-model-to-recognize-emotions-a20c3bcd6468

Training

Script: emotionRecTrain.py

Required args:

  • csv_file - path to the fer2013.csv file
  • export_path - path to save the trained model artifacts

Optional args:

  • batch_size - batch size during training
  • n_epochs - number of training epochs
  • debug - Will override script arguments for batch_size and n_epocs to 10 and 1

Running

# required
python3 emotionRecTrain.py --csv_file=data/fer2013.csv --export_path=model_out/

python3 emotionRecTrain.py --csv_file=data/fer2013.csv --export_path=model_out/ --batch_size=50
python3 emotionRecTrain.py --csv_file=data/fer2013.csv --export_path=model_out/ --n_epochs=5000
python3 emotionRecTrain.py --csv_file=data/fer2013.csv --export_path=model_out/ --debug

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].