Skip to content

Commit

Permalink
usage fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-m committed Feb 15, 2014
1 parent 2f9ce0e commit a71a1b3
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _Recognizing emotional states in faces_

Authors: Luca Mella, Daniele Bellavista

Development Status: Prototype
Development Status: Experimental

Copyleft: [CC-BY-NC 2013](http://creativecommons.org/licenses/by-nc/3.0/)

Expand Down Expand Up @@ -90,7 +90,7 @@ Cam gui:

Or:

./gui.py --mode svm --eye-correction <dataset_path>
./gui.py --cfg <dataset_configuration_path> --mode svm --eye-correction <dataset_path>


## Training
Expand All @@ -104,16 +104,16 @@ code labels (aka Action Units) and emotion labels (neutral, anger, contempt, dis

Initialize and fill a dataset:

python2 datasetInit.py [-h] --cfg dataset.cfg dsPath
python2 datasetFillCK.py [-h] datasetFolder cohnKanadeFolder cohnKanadeEmotionsFolder
python2 datasetInit.py [-h] --cfg <dataset_configuration_path> <dataset_path>
python2 datasetFillCK.py [-h] --cfg <dataset_configuration_path> <dataset_path> <cohnKanade_folder> <cohnKanade_emotions_folder>

Train some models:

./train_models.sh svm 1vsallext ./dataset

Or better:

./train_models.py --cfg dataset.cfg --mode svm --prep-train-mode 1vsAll --eye-correction dsFolder
./train_models.py --cfg <dataset_configuration_path> --mode svm --prep-train-mode 1vsAll --eye-correction <dataset_folder>

Or also:

Expand All @@ -123,9 +123,6 @@ Or also:
python datasetTrain.py [-h] [--mode {adaboost,svm}] dsFolder
python datasetVerifyPrediction.py [-h] [--mode {adaboost,svm}] [--eye-correction] dsFolder

Training with _native_ tool:

TBD

## Further Development

Expand Down

0 comments on commit a71a1b3

Please sign in to comment.