#1 Download Files
1.1 click the link below to download files
emotion_rec.zip
1.2 extract zip file to the destination folder
- There are 5 files inside the folder 'emotion_rec'
- environment.yml (environment configuration file)
- emotion_detection_service.py (main program)
- core.py (contains classes required)
- test.py (test file)
- test_model_alpha_0 (contains model)
- utils.py (utility file)
before you go to the next step, please familiarize yourself with the functions of these files. emotion_detection_service.py is the only file you need to modify.
#2 Setup Environment
2.1 download *conda if you do not have it.
The source code needs a python environment to run properly. We use anaconda/miniconda to manage our packages and environments.
Please following the official instructions to set it properly.
2.2 build an environment with a configuration file
- open anaconda/miniconda command line and navigate to the target folder 'emotion_rec'.
- run the following command
conda env create -f environment.yml
- run the following command to activate environment
conda activate emotion_rec
#3 Running & Deloyting the program
3.1 running test