Closed fizamurtaza closed 3 years ago
Even this issue is same with Img57 and Img58 given in the dataset folder
seems a probably bug
how it can be corrected?
I'm going to study this tonight.
I'm going to study this tonight.
Thank you @serengil
I tested it in my environment and it works!
Are you seeing a warning like "WARNING: Representations for images in deepface/tests/dataset folder were previously stored in representations_facenet.pkl". Please delete that .pkl file and run find function again. That might be the reason of your trouble.
I am using two images [Img78.jpg and Img80.jpg] to compare using DeepFace.verify and I am getting following result: {'verified': True, 'distance': 0.34921315852571366, 'max_threshold_to_verify': 0.4, 'model': 'VGG-Face', 'similarity_metric': 'cosine'}
but when I use DeepFace.find for Img78.jpg it is giving me minimum distance with another image with distance= 0.3923993458579276 which is greater than the distance with Img80.jpg for which the distance was 0.3492.
so my question is why DeepFace.find is not picking the image with the minimum distance?