Trying to convert the model according to the instructions K230 nncase Development Guide — K230 Linux+RT-Smart SDK , I get an error:
File “C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\nncase_init_.py”, line 34, in
import _nncase
ImportError: DLL load failed while importing _nncase
The problem was related to the fact that on the computers I used,
the processors did not support avx instructions.
onnxruntime requires support for avx instructions.
Problem solved, thank you.
Hi
I have tried to execute this example on a Linux PC server, but it crashes with the following message:
Traceback (most recent call last):
File “/data1/is156025/fa125436/Confluence/Aidge/K230/Yolo/yolov5/test_yolov5/classify/to_kmodel.py”, line 7, in
import nncase
File “/data1/is156025/fa125436/env_aidge/lib/python3.12/site-packages/nncase/init.py”, line 46, in
_initialize()
File “/data1/is156025/fa125436/env_aidge/lib/python3.12/site-packages/nncase/init.py”, line 43, in _initialize
_nncase.initialize(compiler_path)
RuntimeError: Failed to get hostfxr path.
I searched and understood that I need to install the .NET SDK. But i don’t have root nor sudo so I can’t run this: sudo apt-get install -y dotnet-sdk-7.0
I found instructions to install it manually here (sorry, in French):
But, it refers to version 9.0: do I need version 7.0?
And how can I choose the binary file?