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 ``.