1 最近编译openVINO成dll,供三方调用。遇到一个问题,这个问题很棘手,因为它不像一般的动态库找不到,如下(程序在运行的时候会提示你xxx.dll找不到),这时你可以找到拷贝过来即可。

[ ERROR ] Failed to create plugin xxx\Release\MKLDNNPlugin.dll for device CPU Please, check your env

2 这里是exception,直接报异常,[ ERROR ] Failed to create plugin xxx\Release\MKLDNNPlugin.dll for device CPU,为此我仔细分析了setupvars.bat文件,找到了原因。如果在本机用源码不会运到这个问题,因为setupvars.bat都帮你做好了。

3 缺的dll是inference_engine_lp_transformations.dll,位置C:\Program Files (x86)\IntelSWTools\openvino_2020.3.194\deployment_tools\inference_engine\bin\intel64\Release,如果你操作过,必然是通过提示plugins.xml与MKLDNNPlugin.dll不存在遇到上诉问题。

4 我使用的是Release版本,Debug有对应的问题,下面是setupvars.bat的一部分,明显导入了Release\必要的dll/exe

[ ERROR ] Failed to create plugin xxx\Release\MKLDNNPlugin.dll for device CPU Please, check your env

5 plugins.xml是设备信号与需要dll的关系,如下,如果别人用GPU,不要忘记拷贝clDNNPlugin.dll给别人哈

[ ERROR ] Failed to create plugin xxx\Release\MKLDNNPlugin.dll for device CPU Please, check your env

相关文章: