Giter Club home page Giter Club logo

Comments (8)

SthPhoenix avatar SthPhoenix commented on June 15, 2024

Hi! That's interesting, could you provide your testing code and more info about models you have tested?

from insightface-rest.

jeffryuiop avatar jeffryuiop commented on June 15, 2024

So i just used the test pairs .txt file provided in their website and then run your onnx arcface model that was produced by running your docker using onnxruntime. and then check the results on various thresholds.

I noticed that you converted the model from mxnet. would there be a difference in the result if we convert the pytorch model into onnx?

from insightface-rest.

SthPhoenix avatar SthPhoenix commented on June 15, 2024

Have you tested same code with backend set to mxnet?
The accuracy drop you mentioned is way too large, it might be caused by improper validation, as well as some massive bug in my code, but such accuracy drop should be easily noticable in most use cases.

I haven't tested torch models yet.

from insightface-rest.

jeffryuiop avatar jeffryuiop commented on June 15, 2024

Okay let me double check and re-run the code then.

from insightface-rest.

SthPhoenix avatar SthPhoenix commented on June 15, 2024

Any updates?

from insightface-rest.

jeffryuiop avatar jeffryuiop commented on June 15, 2024

Hi, sorry for the late update, I still find the same result for mobilenet retinaface + arcface resnet100. However. yesterday I just tried the onnx models that was uploaded in insightface (antelope) containing scrfd 10g and arcface resnet100 glint, and I got 0.9985 accuracy on threshold==0.26 on LFW test set. So, I think the newer models are better.

from insightface-rest.

SthPhoenix avatar SthPhoenix commented on June 15, 2024

Are you sure that correct preprocessing was used for older models? If I understand you right, you used onnx models in your own code?

from insightface-rest.

jeffryuiop avatar jeffryuiop commented on June 15, 2024

It is certainly a possibility that I screwed up somewhere. I tried to translate the python code to c++ version and ran a test on it. One suspicion that I have is that I installed the wrong onnx/mxnet version because I did not use your docker. Anyway, I think the issue is solved now. So I am going to close this issue.

from insightface-rest.

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.