-
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
load_param是否将支持传读取param文件后的字符串 #544
Comments
这个知道,但用ncnn2mem生成后,模型从4M变到20M,所以不合要求 |
可以 XXX.param.bin + XXX.bin + XXX.id.h 配合使用,用 load_param_bin + load_model 文件加载 |
OK,谢谢了 |
@nihui 想模型加密,因为有自定义层,使用ncnn2mem后调用失败;试过将自定义层加入layer下,增加ncnn_add_layer(),ncnn library编译通过了,但新编译的库,无论load有自定义层的模型还是无自定义层的其他模型,遇到参数层就load失败,请问将自定义层内嵌入ncnn library,需要怎么修改 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
想加密param文件,然后读取解密后传给load_param,是否将支持传字符串
The text was updated successfully, but these errors were encountered: