-
Hello, I tried to install the prebuilt binary (Linux and OSx) but I got the following error in both cases: .venv/lib/python3.9/site-packages/nncase/init.py", line 43, in _initialize The installer runs without any errors. To reproduce (OSX): ProductName: macOS (.venv) (base) $ python pip install nncase-2.1.0.20230703-cp39-cp39-macosx_10_15_x86_64.whl Sadly, the docker image was not available, the target hardware is a k210 board. Best Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Q1 : Q2: |
Beta Was this translation helpful? Give feedback.
Q1 :
RuntimeError: Failed to get hostfxr path.
You need to install dotnet-7.0.
In ubuntu, use
sudo apt-get install dotnet-sdk-7.0
.If you still have problems after installation, maybe you install dotnet in a virtual enviroment, set the environment variables
export DOTNET_ROOT=/usr/share/dotnet
.Q2:
Sadly, the docker image was not available, the target hardware is a k210 board.
Unfortunately, nncase-v2 does not support k210. You need v0.2 to get good performance. It supports more operations in v1, but performance is poor.