mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 19:45:21 +00:00
Merge branch 'master' of https://github.com/serengil/deepface
This commit is contained in:
commit
527a427443
@ -280,7 +280,7 @@ def analyze(img_path, actions = ('emotion', 'age', 'gender', 'race') , models =
|
||||
models['age'] = DeepFace.build_model('Age')
|
||||
models['gender'] = DeepFace.build_model('Gender')
|
||||
models['emotion'] = DeepFace.build_model('Emotion')
|
||||
models['race'] = DeepFace.build_model('race')
|
||||
models['race'] = DeepFace.build_model('Race')
|
||||
|
||||
enforce_detection (boolean): The function throws exception if a face could not be detected. Set this to True if you don't want to get exception. This might be convenient for low resolution images.
|
||||
|
||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
||||
|
||||
setuptools.setup(
|
||||
name="deepface",
|
||||
version="0.0.74",
|
||||
version="0.0.75",
|
||||
author="Sefik Ilkin Serengil",
|
||||
author_email="serengil@gmail.com",
|
||||
description="A Lightweight Face Recognition and Facial Attribute Analysis Framework (Age, Gender, Emotion, Race) for Python",
|
||||
|
@ -206,7 +206,7 @@ gbm.save_model("face-recognition-ensemble-model.txt")
|
||||
#--------------------------
|
||||
#Evaluation
|
||||
|
||||
predictions = gbm.predict(x_test)
|
||||
prediction_classes = gbm.predict(x_test)
|
||||
|
||||
prediction_classes = []
|
||||
for prediction in predictions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user