Skip to content

Commit

Permalink
Merge pull request #964 from serengil/feat-task-2101-deepid-represent…
Browse files Browse the repository at this point in the history
…-bug

incompatible bug for deepid in representation
  • Loading branch information
serengil authored Jan 21, 2024
2 parents bc30c90 + 9ca545c commit 6afbfa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deepface/modules/representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def represent(
if detector_backend != "skip":
img_objs = functions.extract_faces(
img=img_path,
target_size=target_size,
target_size=(target_size[1], target_size[0]),
detector_backend=detector_backend,
grayscale=False,
enforce_detection=enforce_detection,
Expand Down
2 changes: 1 addition & 1 deletion tests/visual-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"Facenet512",
"OpenFace",
"DeepFace",
# "DeepID",
"DeepID",
"Dlib",
"ArcFace",
"SFace",
Expand Down

0 comments on commit 6afbfa9

Please sign in to comment.