README: Formatting.

This commit is contained in:
Brandon Amos 2015-10-11 17:36:34 -04:00
parent 5d40b1f8d9
commit 31b0466ae7
1 changed files with 6 additions and 9 deletions

View File

@ -223,6 +223,12 @@ the model has no knowledge of.
For an unknown person, a prediction still needs to be made, but For an unknown person, a prediction still needs to be made, but
the confidence score is usually lower. the confidence score is usually lower.
Run the classifier on your images with:
```
./demos/classifier.py ./models/openface/celeb-classifier.nn4.v1.pkl infer <image>
```
| Person | Image | Prediction | Confidence | | Person | Image | Prediction | Confidence |
|---|---|---|---| |---|---|---|---|
| Lennon 1 | <img src='images/examples/lennon-1.jpg' width='200px'></img> | DavidBoreanaz | 0.28 | | Lennon 1 | <img src='images/examples/lennon-1.jpg' width='200px'></img> | DavidBoreanaz | 0.28 |
@ -230,15 +236,6 @@ the confidence score is usually lower.
| Carell | <img src='images/examples/carell.jpg' width='200px'></img> | SteveCarell | 0.78 | | Carell | <img src='images/examples/carell.jpg' width='200px'></img> | SteveCarell | 0.78 |
| Adams | <img src='images/examples/adams.jpg' width='200px'></img> | AmyAdams | 0.87 | | Adams | <img src='images/examples/adams.jpg' width='200px'></img> | AmyAdams | 0.87 |
---
Run the classifier on new images with:
```
./demos/classifier.py ./models/openface/celeb-classifier.nn4.v1.pkl infer <image>
```
# Model Definitions # Model Definitions
Model definitions should be kept in [models/openface](models/openface), Model definitions should be kept in [models/openface](models/openface),
where we have provided definitions of the [nn1](models/openface/nn1.def.lua) where we have provided definitions of the [nn1](models/openface/nn1.def.lua)