ARM-software / ML-examples

Arm Machine Learning tutorials and examples

Home Page:https://developer.arm.com/technologies/machine-learning-on-arm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make -f tensorflow/lite/micro/tools/make/Makefile TAGS="DS_CNN Simple_KWS_Test" generate_kws_cortex_m_mbed_project

alcoal1 opened this issue · comments

I am following the tutorial here:tflu-kws-cortex-m
$ make -f tensorflow/lite/micro/tools/make/Makefile TAGS="DS_CNN Simple_KWS_Test" generate_kws_cortex_m_mbed_project
This produces the following error:
make: *** no rules to make target“tensorflow/lite/micro/tools/make/gen/linux_x86_64/prj/kws_cortex_m/mbed/third_party/gemmlowp/fixedpoint/fixedpoint.h”, due to “generate_kws_cortex_m_mbed_project” stop

How to resolved this error?

Hmm could be related to TensorFlow version used. Before you call make could try running this command to check out a specific version of TensorFlow (they deprecated some things in the latest versions).

git checkout 72c19e8880

It might also make things easier to re-clone the tensorflow repository fresh and copy in the kws_cortex_m sub folder again.

We have an open PR for this repository that will be merged very soon hopefully #60 that includes some updates including this in the README.

Let me know if this helps.

Hmm could be related to TensorFlow version used. Before you call make could try running this command to check out a specific version of TensorFlow (they deprecated some things in the latest versions).

git checkout 72c19e8880

It might also make things easier to re-clone the tensorflow repository fresh and copy in the kws_cortex_m sub folder again.

We have an open PR for this repository that will be merged very soon hopefully #60 that includes some updates including this in the README.

Let me know if this helps.

Thanks for response.

But I did it according to your advice and still encountered this error again.

@alcoal1 So just to confirm then, you have done the following:

cd tflu-kws-cortex-m/
git clone https://github.com/tensorflow/tensorflow.git
cp -r ./kws_cortex_m tensorflow/tensorflow/lite/micro/examples/
cd tensorflow/
git checkout 72c19e8880
make -f tensorflow/lite/micro/tools/make/Makefile TAGS="DS_CNN Simple_KWS_Test" generate_kws_cortex_m_mbed_project

And you get the error?

@Burton2000 Thank you,I fixed this error.
It's my network fault.
I will close this issue.

But when i use command:
mbed compile -m K64F -t GCC_ARM

I get a new error, so i take a new issue could you please help me?