kendryte / nncase

Open deep learning compiler stack for Kendryte AI accelerators ✨
Apache License 2.0
734 stars 181 forks source link

tflite2kmodel.sh: line 5: ./ncc/ncc: Permission denied(when I convert tflite to kmodel) #173

Closed agenthong closed 3 years ago

agenthong commented 4 years ago

tflite2kmodel.sh: line 5: ./ncc/ncc: Permission denied

It happens when I convert tflite to kmodel. How can I solve it

shanejohnpaul commented 3 years ago

Is that all the error that you get? Also, check if ncc is present inside the ncc folder.

sunnycase commented 3 years ago

Please report it to Sipeed.

iGangao commented 2 years ago

I also met this problem。you can amend the file of get_nncase.sh and run it. Edit this to,

#!/bin/bash
mkdir -p ncc
mkdir -p workspace
mkdir -p images
mkdir -p log
cd ncc
wget https://github.com/kendryte/nncase/releases/download/v0.1.0-rc5/ncc-linux-x86_64.tar.xz
tar -Jxf ncc-linux-x86_64.tar.xz
rm ncc-linux-x86_64.tar.xz
echo "download nncase ok!"

then you can try again。 for exemple bash tflite2kmodel.sh workspace/m.tflite