Open yulonglovecode opened 4 years ago
I also met this problem. Have you solved it?
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.
I also met this problem。you can amend the file of get_nncase.sh and run it. then you can try again。
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