import MNN时报错:
initMNN: init numpy failed
解决方法:
pip uninstall numpy
pip install numpy
报警:
D:\Anaconda3\lib\site-packages\numpy_distributor_init.py:32: UserWarning: loaded more than 1 DLL from .libs:
D:\Anaconda3\lib\site-packages\numpy.libs\libopenblas.WCDJNK7YVMPZQ2ME2ZZHJJRJ3JIKNDB7.gfortran-win_amd64.dll
D:\Anaconda3\lib\site-packages\numpy.libs\libopenblas.XWYDX2IKJW2NMTWSFYNGFUWKQU3LYTCZ.gfortran-win_amd64.dll
mnn编译成功标志:
Start to Convert Other Model Format To MNN Model...
[22:16:38] :30: ONNX Model ir version: 4
Start to Optimize the MNN Net...
inputTensors : [ images, ]
outputTensors: [ output, ]
Converted Success!
但是,即使这样,mnn推理还有可能报错
导出失败:
Start to Convert Other Model Format To MNN Model...
[22:19:55] :30: ONNX Model ir version: 4
Start to Optimize the MNN Net...
inputTensors : [ images, ]
outputTensors: [ Transpose156, ]
Converted Success!
版权说明 : 本文为转载文章, 版权归原作者所有 版权申明
原文链接 : https://blog.csdn.net/jacke121/article/details/123723002
内容来源于网络,如有侵权,请联系作者删除!