sipeed / Maix_Toolbox

Maix Toolbox: Collections of model scripts
Apache License 2.0
82 stars 41 forks source link

/ncc/ncc: No such file or directory #15

Open yulonglovecode opened 4 years ago

yulonglovecode commented 4 years ago

when i try to convert my tflite to kmodel(command : tflite2kmodel.sh workspace/mbnet75.tflite). the tflite2kmodel.sh file prompt this : uasge: ./tflite2kmodel.sh xxx.tflite bash: ./ncc/ncc: No such file or directory

tcexeexe commented 4 years ago

I also met this problem. Have you solved it?

shanejohnpaul commented 3 years ago

There's a typo in get_nncase.sh Right now get_nncase.sh is this,

#!/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.gz
rm ncc-linux-x86_64.tar.gz
echo "download nncase ok!"

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!"

Just make all ".gz" to ".xz"

Or you could pull my fork.

iGangao commented 2 years ago

I also met this problem。you can amend the file of get_nncase.sh and run it. then you can try again。