facenet-pytorch icon indicating copy to clipboard operation
facenet-pytorch copied to clipboard

detect_face bug-fix for list of torch tensors

Open mgp123 opened this issue 2 months ago • 3 comments

bug-fix.sizeinstead of size(). size is the method. size() is the correct equivalent to shape

mgp123 avatar Apr 28 '24 18:04 mgp123

Note that this would break detect_face for PIL.Image lists so this is a partial patch to be able to play with torch tensors. Needs more tweaks in order for this to work for all cases

mgp123 avatar Apr 28 '24 18:04 mgp123