mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 20:15:21 +00:00
Update DeepFace.py
This commit is contained in:
parent
e4a43fd86b
commit
e91e48bd6c
@ -6,7 +6,6 @@ import time
|
|||||||
import pickle
|
import pickle
|
||||||
import logging
|
import logging
|
||||||
from typing import Any, Dict, List, Tuple, Union
|
from typing import Any, Dict, List, Tuple, Union
|
||||||
from keras.engine.functional import Functional
|
|
||||||
|
|
||||||
# 3rd party dependencies
|
# 3rd party dependencies
|
||||||
import numpy as np
|
import numpy as np
|
||||||
@ -56,7 +55,7 @@ def build_model(model_name: str) -> Any:
|
|||||||
Age, Gender, Emotion, Race for facial attributes
|
Age, Gender, Emotion, Race for facial attributes
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
built deepface model
|
built deepface model (keras.engine.Functional)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# singleton design pattern
|
# singleton design pattern
|
||||||
|
Loading…
x
Reference in New Issue
Block a user