Giter Site home page Giter Site logo

mansikataria / facialexpressionrecognition Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.35 MB

Facial Expression Recognition using ResNet18 model implemented in Pytorch

Jupyter Notebook 100.00%
cnn pytorch resnet18 fer facial-expression-recognition resnet-18 cnn-model cnn-pytorch

facialexpressionrecognition's Introduction

Facial Expression Recognition

This repository is to do facial expression prediction by fine-tuning ResNet-18 with FER-2013 Faces Database.

data-original (Image source: www.kaggle.com)

Notebooks

Pytorch is used to create ResNet18 model. RandomCrop and HorizontalFlip are applied on data before training. The model is trained for 200 epochs with batch size 32.

Private Test Accuracy: 73%

Loss Graph: image

Accuracy Graph: image

Confusion Matrix: image

Keras is used to create and train a CNN model with BatchNorm. Data is augmented using random rotation, width/height shift, zoom, horizontal flip before training. Model is trained for 50 epochs with batch size 64. More accuracy can be achieved by training for more epochs.

**Private Test Accuracy: 65.45% **

Loss & Accuracy Graph:

image

facialexpressionrecognition's People

Contributors

mansikataria avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.