From d6b9d16156194a8d782acc3c514c9c1057de32ad Mon Sep 17 00:00:00 2001 From: Brandon Amos Date: Fri, 11 Mar 2016 16:50:35 -0500 Subject: [PATCH] Docs: Reference prune-dataset after align-dlib. --- docs/demo-3-classifier.md | 5 +++++ docs/visualizations.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/demo-3-classifier.md b/docs/demo-3-classifier.md index 33c6459..a322d4c 100644 --- a/docs/demo-3-classifier.md +++ b/docs/demo-3-classifier.md @@ -43,6 +43,11 @@ Change `8` to however many separate processes you want to run: `for N in {1..8}; do ./util/align-dlib.py align outerEyesAndNose --size 96 & done`. +If failed alignment attempts causes your directory to have too few images, +you can use our utility script +[./util/prune-dataset.py](https://github.com/cmusatyalab/openface/blob/master/util/prune-dataset.py) +to deletes directories with less than a specified number of images. + ### 3. Generate Representations `./batch-represent/main.lua -outDir -data ` creates `reps.csv` and `labels.csv` in ``. diff --git a/docs/visualizations.md b/docs/visualizations.md index 8289375..f07c983 100644 --- a/docs/visualizations.md +++ b/docs/visualizations.md @@ -48,6 +48,11 @@ Change `8` to however many separate processes you want to run: `for N in {1..8}; do ./util/align-dlib.py align outerEyesAndNose --size 96 & done`. +If failed alignment attempts causes your directory to have too few images, +you can use our utility script +[./util/prune-dataset.py](https://github.com/cmusatyalab/openface/blob/master/util/prune-dataset.py) +to deletes directories with less than a specified number of images. + ## 3. Generate Representations `./batch-represent/main.lua -outDir -data ` creates `reps.csv` and `labels.csv` in ``.