facenet-pytorch
facenet-pytorch copied to clipboard
detect_face bug-fix for list of torch tensors
bug-fix.size
instead of size()
.
size
is the method. size()
is the correct equivalent to shape
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