- Used transfer learning to build a convolutional neural network with FER2013 dataset that can classify emotion from different photos (Phoebe from F.R.I.E.N.D.S).
Angry | Disgust | Fear |
---|---|---|
![]() |
![]() |
![]() |
Happy | Neutral | Sad | Surprise |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
---|
Angry | Surprise |
---|---|
![]() |
![]() |
- (Optional) Create a virtual environment and activate it.
virtualenv venv
source venv/bin/activate
- Make sure you have all the packages installed from requirements.txt.
pip install -m requirements-dev.txt
pip install -m requirements.txt
- Use the Jupyter Notebook (
test.ipynb
) to build the model and test the model's accuracy.
python3 model/train.py
python3 model/fine_tune.py
pytest -v --cov --cov-report term-missing