Tag Archives: Python dictionary

[Solved] mnn Import Error: initMNN: init numpy failed

import MNN Error:

initMNN: init numpy failed

Solution:
pip uninstall numpy
pip install numpy

Error Messages:

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 compile succefully:

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!

However, even so, MNN reasoning may report errors

Export failed:

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!