Giter Site home page Giter Site logo

Comments (2)

vrindamathur1428 avatar vrindamathur1428 commented on July 28, 2024

Solution:
they're doing pth -> caffe -> ncnn
instead of pth -> onnx -> ncnn

and this solution is applicable only to the first model (2.7_80x80_MiniFASNetV2.pth), and not the second model (4_0_0_80x80_MiniFASNetV1SE.pth), because it has an se_module, that is not supported by Pytorch2Caffe library, and their caffe conversion tool is not open source yet.

you can check here and here

from silent-face-anti-spoofing-apk.

abcxys avatar abcxys commented on July 28, 2024

Hi. I was manually converting the anti spoof pth models given here into bin and param files (i.e. ncnn format) after referring to #3 issue, and following these steps. However, the architecture of my onnx/param files is different from the actual param files given here

This is the param file given in the repo: model_2.param

And this is my param file architecture: ncnn_07Apr.zip

And I checked the architectures on https://netron.app/ And they're clearly different.

And the original APK script is running fine with the original models, but crashes with the new ones. No traceback or warning or error is displayed upon crashing. There is nothing in the logs. Would you have any idea why that might be? Any insight is appreciated.

Hi there! I am trying to run the apk script in Android Studio, but kept seeing
warnings "java.lang.UnsatisfiedLinkError: dlopen failed: library "libengine.so" not found"
error "java.lang.UnsatisfiedLinkError: No implementation found for long com.mv.engine.FaceDetector.allocate() (tried Java_com_mv_engine_FaceDetector_allocate and Java_com_mv_engine_FaceDetector_allocate__)"

Have you encountered this issue? Many thanks!

from silent-face-anti-spoofing-apk.

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.