Comments (4)
Hello @swapgit I am happy to hear that you like the project. In order to improve the emotion classification module we could try several things:
- pre-train or train along another emotion dataset (I have tried to pre-train with the KDEF dataset but it didn't show any perceivable increase in accuracy).
- The labels are not uniformly distributed consequently we could try to re-train with the existent dataset using a weighted loss.
from face_classification.
Thank you! this repo is a miracle :)
[EDITED] The using the initial settings the preloaded weights would yield a lower performance, however it can be later trained to the reported 66%
How about using balanced training batches (so each batch will contain same amount of samples from each class)? I know it would represent a different class distribution, where the deviation of the small sets would be narrow - for me it worked better than class weights.
from face_classification.
Hello @csbotos I am happy to hear you like the project :). Yes, we can also try to have balanced batches. The drop in accuracy could be related to not using the correct optimizer weights. I encountered an issue in keras in which the optimizer weights were not compatible between keras versions; therefore, I either deleted them entirely from the hdf5 files or I set the compile flag to False when loading the models.
from face_classification.
Yeah, I just discovered that the learning rate could be too raw for the pretrained network, now the algorithm topped again at 66%
from face_classification.
Related Issues (20)
- Trying to convert emotion detection into TensorRT HOT 1
- use BP4D for train and get a bad result HOT 1
- Can't run application with docker HOT 2
- TypeError: zip argument #2 must support iteration
- OpenCV (4.1.1) - Error HOT 1
- Embedd face recognition
- IndexError: index 144 is out of bounds for axis 1 with size 100
- Getting Warning and doesn't run.
- [question] Is there such functionality as face tracking?
- Reduce number of emotions. HOT 1
- Does not return any inference or gender sometimes. HOT 2
- How do I create training data with fer2013 format
- If no face how to add a new function?
- face detection with openCV and DNN
- How can i train my own data?
- simplecnn public model only get 95 acc in imdb dataset, not 96% in model name
- which result from the prediction represents which emotion
- raise IOError(f'No file or directory found at {filepath_str}') HOT 1
- Outdated dependencies [FIXED]
- fail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from face_classification.