tensorflow / tflite-micro

Infrastructure to enable deployment of ML models to low-power resource-constrained embedded targets (including microcontrollers and digital signal processors).
Apache License 2.0
1.74k stars 769 forks source link

The windows cmd does not complete the command make #2610

Open Rafared34 opened 2 weeks ago

Rafared34 commented 2 weeks ago

Hello, I have this problem:

C:\Pico>git clone https://github.com/tensorflow/tflite-micro.git Cloning into 'tflite-micro'... remote: Enumerating objects: 20270, done. remote: Counting objects: 100% (25/25), done. remote: Compressing objects: 100% (20/20), done. remote: Total 20270 (delta 9), reused 16 (delta 5), pack-reused 20245 Receiving objects: 100% (20270/20270), 31.99 MiB | 8.24 MiB/s, done. Resolving deltas: 100% (14632/14632), done.

C:\Pico>cd tflite-micro

C:\Pico\tflite-micro>make -f tensorflow/lite/micro/tools/make/Makefile generate_projects FIND: incorrect parameter format File not found: .cc File not found: .h --2024-06-18 11:31:49-- https://github.com/google/flatbuffers/archive/v23.5.26.zip Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt' Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/google/flatbuffers/zip/refs/tags/v23.5.26 [following] --2024-06-18 11:31:50-- https://codeload.github.com/google/flatbuffers/zip/refs/tags/v23.5.26 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3209602 (3.1M) [application/zip] Saving to: '/tmp/tmp.VuSsOYiL3j/v23.5.26.zip'

/tmp/tmp.VuSsOYiL3j/v23.5.26. 100%[=================================================>] 3.06M 3.58MB/s in 0.9s

2024-06-18 11:31:51 (3.58 MB/s) - '/tmp/tmp.VuSsOYiL3j/v23.5.26.zip' saved [3209602/3209602]

FIND: formato de parámetros incorrecto Switched to a new branch 'tflm' Applying /c/Pico/tflite-micro/tensorflow/lite/micro/tools/make/downloads/flatbuffers/.//../../flatbuffers.patch to /c/Pico/tflite-micro/tensorflow/lite/micro/tools/make/downloads/flatbuffers/./ --2024-06-18 11:32:05-- https://github.com/mborgerding/kissfft/archive/refs/tags/v130.zip Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt' Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/mborgerding/kissfft/zip/refs/tags/v130 [following] --2024-06-18 11:32:06-- https://codeload.github.com/mborgerding/kissfft/zip/refs/tags/v130 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 60513 (59K) [application/zip] Saving to: '/tmp/tmp.s1kbFVf7qf/v130.zip'

/tmp/tmp.s1kbFVf7qf/v130.zip 100%[=================================================>] 59.09K --.-KB/s in 0.06s

2024-06-18 11:32:06 (932 KB/s) - '/tmp/tmp.s1kbFVf7qf/v130.zip' saved [60513/60513]

Switched to a new branch 'tflm' Applying /c/Pico/tflite-micro/tensorflow/lite/micro/tools/make/downloads/kissfft/.//../../../../../../../third_party/kissfft/kissfft.patch to /c/Pico/tflite-micro/tensorflow/lite/micro/tools/make/downloads/kissfft/./ Cloning into 'tensorflow/lite/micro/tools/make/downloads/pigweed'... remote: Sending approximately 83.36 MiB ... remote: Total 118163 (delta 65035), reused 118163 (delta 65035) Receiving objects: 100% (118163/118163), 83.31 MiB | 8.70 MiB/s, done. Resolving deltas: 100% (65035/65035), done. Updating files: 100% (5576/5576), done. Updating files: 100% (5840/5840), done. Note: switching to '47268dff45019863e20438ca3746c6c62df6ef09'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 47268dff4 pw_hdlc_lite: Client I/O improvements FIND: formato de parámetros incorrecto tensorflow/lite/micro/tools/make/Makefile:614: *** Something went wrong with the pigweed download: . Stop.

If anyone has the solution, I would appreciate it.