justadudewhohacks / face-api.js

JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
MIT License
16.72k stars 3.72k forks source link

Retraining the facial emotion recognition model #864

Open amirzlq5 opened 2 years ago

amirzlq5 commented 2 years ago

How can I train your emotion recognition model with my own data?

Unfortunately, I could not convert the model saved by you to a suitable keras model. Thank you for your help

punkpeye commented 2 years ago

@amirzlq5 Have you found the answer?

faustinopsy commented 2 years ago

the models that you found here on faceapi is very good, but if you think you can create more expressions, or train with microexpressions, it may be a good way, the link below you can train your model, and after training export for customization. https://teachablemachine.withgoogle.com/ training https://teachablemachine.withgoogle.com/train/image

below a model trained on this site, trained with few images, as it was just a test, but the site above is very good for model training

https://github.com/faustinopsy/ml-emocoes