-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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_model 来加载内存中的模型数据 #516
Comments
In my case, I got crash in following function.
/* int blob_index = (int)mem; ------------ Comment This Part
*/
I think there is a problem in model parsing. |
git master code is unstable, you may try the release version. |
@nihui |
请问load_model函数这个问题解决了吗?我也遇到了这个问题,用的最新的release版本. |
应该没有问题了 |
使用 load_model 来加载内存中的模型数据时返回值显示成功,没有任何错误,但是使用这个net时
网络计算出来的数据不正确,函数原型:int load_model(const unsigned char* mem);
mem是我自己分配内存从文件读入的数据,可以确定读出的数据没有任何问题。
但是使用 load_model的其它两个重载函数:(工作都正常)
int load_model(FILE* fp);
int load_model(const char* modelpath);
不知道大家有没有遇到这样的问题呢,还请指教。
The text was updated successfully, but these errors were encountered: