Git Product home page Git Product logo

Comments (10)

happynear avatar happynear commented on May 19, 2024 16

I get 73.6888%. This number is still too high. According to the paper, a 64-layer ResNet could get 72.729%. A 20-layer network should not do better than a 64-layer network.

I guess this is because of the alignment. Megaface is a strange dataset that if you do worse on alignment, you can get better result. I have tried my best to align the dataset, but I can't get accurate keypoints on lots of images. I directly crop a region as the aligned face on each of these images. This may cause the distractors too weak to compete with the probes, which would make the performance better......

from sphereface.

chichan01 avatar chichan01 commented on May 19, 2024

Hi,
Well, to be fair and the issue of practical, I only used the provided (groundtruth) landmark provided in json files to normalise the faces and I think others will do the similar procedure. The reason is that there is impossible to check 1M faces results using the other facial landmark algorithm as some images have more than one face and it is also very difficult to manual annotate the landmark when the algorithm fails.
Another issue I point out is the result of age-invariant, my result is significantly worse than the paper they released. I think the architecture of 20 layers they released may not the one they use for the megaface test as one of the authors in this forum has mentioned that.

from sphereface.

kalyo-zjl avatar kalyo-zjl commented on May 19, 2024

@happynear
hi, do you mean that you got 73.6888% by using the released 20 layer model? Could you please show the exact preprocessing code about MTCNN and alignment used for MegaFace and FaceScrub dataset? I can't get comparable results in MegaFace with yours'. Maybe there is something wrong in my preprocessing code.
BTW, what do you do if the face can't be detected using the algorithm?
Thanks in advance!

from sphereface.

happynear avatar happynear commented on May 19, 2024

@kalyo-zjl ,
I have uploaded the codes to my repository https://github.com/happynear/FaceVerification/tree/master/dataset/Megaface . The detection and alignment logic is also described in the ReadMe file.
You may not use Matlab and my implementation of MTCNN, but you may refer to my procedure of detection and alignment.

from sphereface.

kalyo-zjl avatar kalyo-zjl commented on May 19, 2024

@happynear ,
Thank you, I will check it. Yes, I will refer to your procedure of detection and alignment, and use the python version of MTCNN and alignment, in which the result should be similar.

from sphereface.

Jianf-Wang avatar Jianf-Wang commented on May 19, 2024

@happynear
Hi, I have a question. How to evaluate sphereface on Megaface ?
The sphereface uses cosine similarity to measure the distance.

from sphereface.

kalyo-zjl avatar kalyo-zjl commented on May 19, 2024

You can normalize the embedding feature first. when X, Y are normalized. d(X,Y) = 2 - 2 cos(X,Y). They just have the same effect

from sphereface.

Jianf-Wang avatar Jianf-Wang commented on May 19, 2024

@kalyo-zjl em...... you mean that once I save the normalized embeddings to '.bin' file, I can directly
run the code "run_experiment.py" to get correct results?

from sphereface.

yao5461 avatar yao5461 commented on May 19, 2024

@chichan01 @happynear @kalyo-zjl Hi all, I know d(X,Y) = 2 - 2 cos(X,Y). But how to define a new score model when I evaluate my model on Megaface?
run_experiment.py -s 1000000 -p ../templatelists/facescrub_features_list.json -m ???
Thanks!

from sphereface.

 avatar commented on May 19, 2024

Hi,
Do we need to normalize the input images of Facescrub and Megaface before feeding them to the model?

from sphereface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.