mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 20:45:22 +00:00
ensemble pre-trained model
This commit is contained in:
parent
787be49db4
commit
44078eddb8
@ -123,7 +123,6 @@ def verify(img1_path, img2_path=''
|
||||
#-------------------------------
|
||||
#find deepface path
|
||||
deepface_path = DeepFace.__file__
|
||||
#deepface_path = deepface_path.replace("\\", "/").replace("/deepface/DeepFace.py", "")
|
||||
deepface_path = deepface_path.replace("\\", "/").replace("/DeepFace.py", "")
|
||||
|
||||
ensemble_model_path = deepface_path+"/models/face-recognition-ensemble-model.txt"
|
||||
@ -677,7 +676,6 @@ def find(img_path, db_path
|
||||
#----------------------------------
|
||||
#lightgbm model
|
||||
deepface_path = DeepFace.__file__
|
||||
#deepface_path = deepface_path.replace("\\", "/").replace("/deepface/DeepFace.py", "")
|
||||
deepface_path = deepface_path.replace("\\", "/").replace("/DeepFace.py", "")
|
||||
ensemble_model_path = deepface_path+"/models/face-recognition-ensemble-model.txt"
|
||||
deepface_ensemble = lgb.Booster(model_file = ensemble_model_path)
|
||||
|
0
deepface/models/__init__.py
Normal file
0
deepface/models/__init__.py
Normal file
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.27",
|
||||
version="0.0.28",
|
||||
author="Sefik Ilkin Serengil",
|
||||
author_email="serengil@gmail.com",
|
||||
description="Deep Face Analysis Framework for Face Recognition and Demography (Age, Gender, Emotion, Race)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user