Skip to content

qazimbhat1/FER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FER

Facial-Expression-Recognition.Pytorch

A CNN based pytorch implementation on facial expression recognition (FER2013), on google colab achieving 58.149% in FER2013

Dependencies

  • Python 2.7
  • Pytorch >=0.2.0
  • h5py (Preprocessing)
  • sklearn
  • OpenCV

FER2013 Dataset

Model Architecture

The entire model consists of 14 layers in total. In addition to layers below lists what techniques are applied to build the model.

  1. Convolution with 16 different filters in size of (3x3)
  2. Max Pooling by 2
  • ReLU activation function
  1. Convolution with 64 different filters in size of (3x3)
  2. Max Pooling by 2
  • ReLU activation function
  1. Convolution with 128 different filters in size of (3x3)
  • ReLU activation function
  1. Convolution with 256 different filters in size of (3x3)
  2. Max Pooling by 2
  • ReLU activation function
  1. Flattening the 3-D output of the last convolutional operations.
  2. Fully Connected Layer with 500 units
  3. Fully Connected Layer with 200 units
  4. Fully Connected Layer with 7 units

Preprocessing Fer2013

  • Dataset is already preprocessed from csv to h5py

Training the model

Achieving over 96.798% accuracy using batch size as 100.

Prediction

Drawing

Drawing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages