FECNet
A Keras implementation of FECNet, which proposed in "A Compact Embedding for Facial Expression Similarity"
Install / Use
/learn @GerardLiu96/FECNetREADME
FECNet
A Keras implementation of FECNet, which proposed in "A Compact Embedding for Facial Expression Similarity"
The original paper is "A Compact Embedding for Facial Expression Similarity"
I implemented the original structure with Keras 2.2.0
Using Tensorflow1.3.0 backend
Training device: GTX 1060 6G
Due to the limitation of device, I didn't train the model with whole FEC dataset.
Dataset link: FEC
Step one
Download the FEC dataset to the data/
Step two
Run the image_extract.py frist, then run the export_train_label (If you are in China, a VPN is necessary. I strongly suggest you rent a oversea server to run the code and download those images, this will save you a lot of time.)
Step three
Run the FEC.py to train a model, or you can use the create_model method in you own training code. Like in Classifi2.py.
If your device is limite (like me), I suggest you set a very small learning rate (less than 0.0005) because the model will be very easy to overfit.
Update I'm not sure why I still couldn't get good result as the original paper. Maybe because the device limitation so that I could only set a small batch size. If anyone find the bug in my code, plz create a pull request.
If you like this project, offer me a star!
Related Skills
node-connect
332.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
332.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.9kCommit, push, and open a PR
