PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

静态图版本C++部署后dll,C#调用无法正常预测

Open sosan-nian opened this issue 5 years ago • 1 comments

在C#端可以正常使用CPU加载模型与推理,但是使用GPU只能能在主线程运行,在新开的线程里只能加载模型而不能正常推理,会提示”受保护内存,内存错误“。在C++环境下可以正常CPU和GPU的加载与推理,CPU与GPU的推理接口一样的。

sosan-nian avatar Jul 16 '21 10:07 sosan-nian

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 06 '22 17:12 github-actions[bot]