-
Notifications
You must be signed in to change notification settings - Fork 12
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
Underwhelimg results when testing with personal images (+ bug fix) #2
Comments
I meet the same question, do you have a solution? |
not yet, unfortunaly |
You need to align the testing data according to the https://github.com/fdbtrs/mixfacenets/blob/main/utils/align_trans.py |
Can you show the result for two images, I also align the testing data, but nothing change. You should have a try, which is more effective than your word. |
similar bug. mark |
Did you manage to fix the issue ? I tried different weights (from the linked dropbox) and got different results(~0.5217 with 295672backbone.pth ), which makes me wondering which are the backbone weights that allows to get the same results as the author. Thank you for your help |
I also tried to replicate the results for the LFW evaluation and so far, the best results if ~0.58... Did you fixed the issue? |
Hello,
First of all, thank you for sharing your code.
I ran into a few problems when trying to run your eval.py code, it would seem like the value of
config.gdw_size
under the conditionif (config.net_size == "s"):
should be 1024 instead of 512, without which the model will crash when loaded.That being fixed, I tried running the model on some of my images and I'm running into some pretty underwhelming results. I haven't tried reproducing your results with existing datasets, but I have no doubt your reported metrics are accurate, so I must be missing a step on my end. This is what I have tried so far
o1.jpg and o2.jpg are faces detected and aligned by MTCNN, as you did in your paper. As you can see, I reduce the RGB values to the [0,1] range and normalize them with mean and std 0.5, as I saw you did elsewhere in your code.
I am not sure what is missing, could you provide me with some assistance, please?
You can find an example of two faces below, I get the cos_sim 0.92102719 when comparing them, which seems too high.
https://drive.google.com/drive/folders/1YUY3ZkxPQFemWzQ8byHdNFUidxw5OOKp?usp=sharing
The text was updated successfully, but these errors were encountered: