Comments (2)
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.
from silent-face-anti-spoofing-apk.
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)
- ncnn还是opencv HOT 1
- Demo在手机上运行良好,然后我放到我学校发的学习平板上就很奇怪 HOT 3
- 2 files found with path 'lib/arm64-v8a/libopencv_core.so'. HOT 2
- Unresolved reference: BR HOT 2
- 请问libopencv*.so是怎么编译得到的?
- face detection with landmark?
- 您好 libncnn.a 是不是重新编译过得呢
- 手机上和板子上的效果差异很大 HOT 1
- 编译报错? HOT 2
- 怎么识别多张人脸 HOT 1
- Not getting imported in latest android studio
- Supporting iOS/Flutter HOT 4
- Native ios code HOT 1
- 手机摄像头对着iMac 5K 屏幕显示的照片,防伪失效
- Can we detect face movement, smile and eyes blink? HOT 2
- How to get image path
- Detection on landscape orientation is not working properly
- Model is not giving correct prediction scores on android
- libopencv_core.so file conflict
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silent-face-anti-spoofing-apk.