use ncnn in Android(Android Studio) and iOS
Reference
http://blog.csdn.net/best_coder/article/details/76201275
Tencent/ncnn#24
use ncnn in Android(Android Studio) and iOS
use ncnn in Android(Android Studio) and iOS
Reference
http://blog.csdn.net/best_coder/article/details/76201275
Tencent/ncnn#24
我想将squeezeNet替换为mobileNet,已经生成好mobileNet.param .bin,接下来应该怎么做呢
您测试安卓端单次预测的时间是?
libsequencencnn.so所依赖的libncnn.a这个文件是按照官方教程生成的吗;我自己用源码在AS中编译生成的libncnn.a速度比较慢在400ms左右,直接跑你的demo只需要160ms
你好,我最近遇到的问题是,UIImage加载iPhone图片获取数据给ncnn处理,但是结果不对,加载普通图片是正常的,iPhone图片需要做什么处理吗?
08-18 14:06:42.243 23436-23436/? I/art: Late-enabling -Xcheck:jni
08-18 14:06:42.357 23436-23436/com.tencent.squeezencnn W/linker: libsqueezencnn.so: unused DT entry: type 0x6ffffffe arg 0x4360
08-18 14:06:42.358 23436-23436/com.tencent.squeezencnn W/linker: libsqueezencnn.so: unused DT entry: type 0x6fffffff arg 0x2
08-18 14:06:42.477 23436-23436/com.tencent.squeezencnn A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 23436 (ent.squeezencnn)
我对应替换了 assert下的三个文件,更改了.java中的加载名称,
然后用squeezeNet.id.h 替换了原来jni下的id.h, 对应修改了jni.cpp中的命名空间,
但是 运行还是报错, 请问还需要更改那里?
@dangbo
初始化就崩溃, 不知道咋回事, 有办法解决吗? 或者说我应该怎么做?
你好 麻烦问一下怎样在Mac下生成ncnn.framework?谢谢!
用alexnet生成的caffemodel来生成.param.bin 和 .bin文件,用来替换assets中的squeezenet的这两个文件,并不能在手机端运行,ummm,新手求指导
/Users/XXX/Downloads/squeezencnn-AH/app/src/main/jni/squeezencnn_jni.cpp:149:42: error: invalid conversion from 'void*' to 'const float*' [-fpermissive]
const float* prob = out.data + out.cstep * j;
^
这里的out.data是void类型 ,如果强行转换为float之后虽然可以编译成功,但是最后运行结果不对。
非常感谢 w
我想把这个放在 ncnn 主页上去,可以吗?
@dangbo
模型文件是用 ncnn2mem 产生的吗?
最后在手机上运行的时候提示没有.so文件,请问下是为什么呀,我已经用ndk-build生成了libsqueezencnn.so呀,求大佬帮助呀。
想问一下替换成我自己生成的squeeze.param文件就会出错呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.