From 0b3151fa2612774b1edc185afa9aa80205b7648b Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sun, 21 Jan 2024 18:23:47 +0000 Subject: [PATCH] incompatible bug for deepid in representation --- deepface/modules/representation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepface/modules/representation.py b/deepface/modules/representation.py index d7a8767..5dbcdcb 100644 --- a/deepface/modules/representation.py +++ b/deepface/modules/representation.py @@ -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,