Hi,
I’ve got Git and make 4.3 on my laptop which I downloaded through chocolatey. I’m using windows 10.
I managed to clone the Tensorflow source code and all the files seem to be fine but when I tried to use the code "make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test " (from page 84 in the TinyML book) I get the following message:
C:\Users\zalan\tensorflow>make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
process_begin: CreateProcess(NULL, uname -m, …) failed.
tensorflow/lite/micro/tools/make/Makefile:32: pipe: No error
-m was unexpected at this time.
FIND: Parameter format not correct
make: *** No rule to make target ‘test_hello_world_test’. Stop.
I couldn’t figure out a way to fix it and saw someone else using Ubuntu to get it work, so I donwloaded it and tried it but it didn’t work either. I got the following message:
zal_n@LAPTOP-74R8EDS8:/mnt/c/users/zalan/tensorflow$ make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
tensorflow/lite/micro/tools/make/Makefile:306: warning: overriding recipe for target ‘tensorflow/lite/micro/tools/make/downloads/ruy’
tensorflow/lite/micro/tools/make/Makefile:306: warning: ignoring old recipe for target ‘tensorflow/lite/micro/tools/make/downloads/ruy’
tensorflow/lite/micro/tools/make/Makefile:306: warning: overriding recipe for target ‘tensorflow/lite/micro/tools/make/downloads/person_model_grayscale’
tensorflow/lite/micro/tools/make/Makefile:306: warning: ignoring old recipe for target ‘tensorflow/lite/micro/tools/make/downloads/person_model_grayscale’
tensorflow/lite/micro/tools/make/Makefile:306: warning: overriding recipe for target ‘tensorflow/lite/micro/tools/make/downloads/person_model_int8’
tensorflow/lite/micro/tools/make/Makefile:306: warning: ignoring old recipe for target ‘tensorflow/lite/micro/tools/make/downloads/person_model_int8’
tensorflow/lite/micro/tools/make/download_and_extract.sh “https://github.com/google/gemmlowp/archive/719139ce755a0f31cbf1c37f7f98adcc7fc9f425.zip” “7e8191b24853d75de2af87622ad293ba” tensorflow/lite/micro/tools/make/downloads/gemmlowp
tensorflow/lite/micro/tools/make/download_and_extract.sh: line 16: '\r': command not found
tensorflow/lite/micro/tools/make/download_and_extract.sh: line 24: ‘\r’: command not found
: invalid optionmicro/tools/make/download_and_extract.sh: line 25: set: -
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [–] [arg …]
tensorflow/lite/micro/tools/make/download_and_extract.sh: line 26: '\r': command not found
tensorflow/lite/micro/tools/make/download_and_extract.sh: line 28: syntax error near unexpected token `‘{\r’’
'ensorflow/lite/micro/tools/make/download_and_extract.sh: line 28: `patch_am_sdk() {
make: *** [tensorflow/lite/micro/tools/make/Makefile:306: tensorflow/lite/micro/tools/make/downloads/gemmlowp] Error 2
So, I’m clueless at this point, I’d appreciate any help.