Skip to content

Commit

Permalink
FaceNet to Facenet
Browse files Browse the repository at this point in the history
  • Loading branch information
serengil committed Jan 21, 2024
1 parent 0d6aa10 commit c9a7db8
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions deepface/modules/modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@
from typing import Any

# project dependencies
from deepface.basemodels import (
VGGFace,
OpenFace,
FbDeepFace,
DeepID,
ArcFace,
SFace,
Dlib,
FaceNet,
)
from deepface.basemodels import VGGFace, OpenFace, FbDeepFace, DeepID, ArcFace, SFace, Dlib, Facenet
from deepface.extendedmodels import Age, Gender, Race, Emotion


Expand All @@ -33,8 +24,8 @@ def build_model(model_name: str) -> Any:
models = {
"VGG-Face": VGGFace.VggFaceClient,
"OpenFace": OpenFace.OpenFaceClient,
"Facenet": FaceNet.FaceNet128dClient,
"Facenet512": FaceNet.FaceNet512dClient,
"Facenet": Facenet.FaceNet128dClient,
"Facenet512": Facenet.FaceNet512dClient,
"DeepFace": FbDeepFace.DeepFaceClient,
"DeepID": DeepID.DeepIdClient,
"Dlib": Dlib.DlibClient,
Expand Down

0 comments on commit c9a7db8

Please sign in to comment.