-
Notifications
You must be signed in to change notification settings - Fork 27
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
MNN模型下编译RVM报错 #26
Comments
不太了解你新加的这段逻辑😂 |
对了,我还以为是ONNX模型的原因,于是尝试了MNN,上面错误的截图来自MNN模型。 |
看提示是说你的mnn session起的有问题,最好不要作为函数的局部变量结果返回,因为返回后的session可能会指向一段被释放的内存,因为你在函数内生成的内容,比如session,在退出函数作用域后可能会被c++的作用域机制释放了。最好作为一个类的全局属性,或者一个cpp文件内的全局属性。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
是库的链接问题吗?我已经在EXE根目录下放了所有的lib和dll
The text was updated successfully, but these errors were encountered: