Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
richmondu committed Jan 23, 2019
1 parent 70efb83 commit ccdf4e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libfaceid/speech_recognizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@



registered_mic = 'C922 Pro Stream Webcam: USB Audio (hw:1,0)'
#registered_mic= 'Microphone (C922 Pro Stream Web'
#registered_mic = 'C922 Pro Stream Webcam: USB Audio (hw:1,0)'
registered_mic= 'Microphone (C922 Pro Stream Web'


# Added these accounts for testing purposes only
Expand Down
3 changes: 2 additions & 1 deletion training.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def train_recognition(model_detector, model_encoder, model_classifier, verify):
face_detector = FaceDetector(model=model_detector, path=INPUT_DIR_MODEL_DETECTION)
face_encoder = FaceEncoder(model=model_encoder, path=INPUT_DIR_MODEL_ENCODING, path_training=INPUT_DIR_MODEL_TRAINING, training=True)
face_encoder.train(face_detector, path_dataset=INPUT_DIR_DATASET, verify=verify, classifier=model_classifier)

print("train_recognition completed")

# generate audio samples for image datasets using text to speech synthesizer
def train_audiosets(model_speech_synthesizer):

Expand Down

0 comments on commit ccdf4e9

Please sign in to comment.