-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Similarity scores do not look meaningful #13
Comments
I found the problem. The images you suppled to me are not aligned and cropped. Please refer to util.py |
@huangyangyu Thank you for your answer. I understand each image should be aligned and cropped. I also assume this can be done by using functions given in I inspect the code (evaluate.py and featurer.py) and see that each image is passed through Therefore, I don't understand how further I can use Do you refer to any other preprocesses other than things done in EDIT: I checked the code one more time. This time, I saw the second parameter of |
@ekarabulut Yes. In our test of LFW and YTF, all the images are aligned by mtcnn and util.align_box. |
Hi @huangyangyu Thank you again for your feedback. I have recently had the opportunity to apply MTCNN (python implementation) to preprocess the images before giving to the SeqFace. It seems obtaining face landmark features and giving it to SeqFace works! The new results with properly aligned face photos seem more meaningful.
Therefore, I understand by applying a threshold, say -10, SeqFace is able to tell whether faces belong to different people or the same person. But I am not sure about how to pick a proper threshold for all cases as the value -10 is obtained as a result of my own experiments. Can you tell me if my assumption is correct? Thanks so far. |
I think we can close this issue. |
Hi
First of all, thank you for your work.
I am trying to run the trained model with some custom images given by me. The results did not make sense so I'd like to ask you if I'm missing something.
1- I prepared a small dataset of a few images
dataset.zip
2- Then I created pairs.txt like this:
3- I run evaluate.py in the LFW folder. I have obtained a similarity score for each pair which are given as follows:
The results confused me a bit. Similarity between "adile1" and "adile2" (same person) is -4.43 while similarity between "sener2" and "adile2" is -5.03. If you inspect the above list, it is hard to observe a proportion in the similarity score for similar and/or different people.
How can it be?
Secondly, is there a rough threshold for the similarity score between two images of the same person? For instance, score is between -5 and 0 for the same person and it is far less than this (e.g., -100) for different people?
Thanks in advance.
Best regards
The text was updated successfully, but these errors were encountered: