Update DeepFace.py

This commit is contained in:
Sefik Ilkin Serengil 2023-12-18 09:35:37 +00:00 committed by GitHub
parent e4a43fd86b
commit e91e48bd6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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