We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
端侧本地部署ppocr的推理程序。计划将ppocr编译为dll,并导出一个接口供外部调用。主程序ConsoleApplication1.exe调用这个导出的接口。主程序里引入mimalloc后,在推理过程中崩溃。
具体崩溃位置为检测过程的BoxesFromBitmap接口,见附图。
其中主程序ConsoleApplication.exe的代码为
PPOCR推理库导出接口为
请教可能是什么原因?是ppocr里内存管理可能有不恰当的地方,还是自身与mimalloc不兼容?是否与ppocr.dll的MT、MD模式有关?
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
尝试不使用mimalloc库,使用默认的内存分配器,看是否还会发生崩溃。 检查ppocr.dll和ConsoleApplication1.exe的编译模式是否匹配,如果不匹配,需要重新编译使之一致。
如果一定要引入mimalloc库的话有何解决办法?
Sunting78
shiyutang
No branches or pull requests
端侧本地部署ppocr的推理程序。计划将ppocr编译为dll,并导出一个接口供外部调用。主程序ConsoleApplication1.exe调用这个导出的接口。主程序里引入mimalloc后,在推理过程中崩溃。
具体崩溃位置为检测过程的BoxesFromBitmap接口,见附图。
其中主程序ConsoleApplication.exe的代码为
PPOCR推理库导出接口为
请教可能是什么原因?是ppocr里内存管理可能有不恰当的地方,还是自身与mimalloc不兼容?是否与ppocr.dll的MT、MD模式有关?
The text was updated successfully, but these errors were encountered: