-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oc工程搭建 #36
Comments
@nihui 帮忙看看这个问题: 堆栈:
|
param 文件的路径不对 |
@nihui 这个要传相对路径还是全路径,image我也是这样读的能读到 |
pathforresource 后面 oftype param ... |
用的example的资源文件,squeezenet_v1.1.param.bin 是param文件吧? |
不是一个param是squeezenet_v1.1.param.bin,一个model文件是squeezenet_v1.1.bin;难道要改名? |
我用NSFileHandle方式能读到文件,且文件大小一样;在这个地方挂的原因是? |
squeezenet_v1.1.param.bin 是用 load_param_bin 加载的 |
OK,确实这个问题导致,谢谢! |
https://github.com/dangbo/ncnn-mobile use ncnn in Android and iOS |
ncnn应该要初始化文件,看android里工程里有assets里有相关文件;
oc的话应该是参考在linux的示例吧?
net.load_param("model.param");
net.load_model("model.bin");
这两个文件怎么生成?
The text was updated successfully, but these errors were encountered: