15集终于编译成功了-个球!编译TFLite Micro语音识别工程-《MCU嵌入式AI开发笔记》
还是参考这个官方文档:
https://codelabs.developers.google.cn/codelabs/sparkfun-tensorflow#2
全是干货!
这里面提到的这个Micro工程已经移开了:
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/micro
之后我们重新git clone 这个microlite
git clone https://github.com/tensorflow/tflite-micro.git
之后我们编译这个工程:
make -f tensorflow/lite/micro/tools/make/Makefile TARGET=sparkfun_edge micro_speech_bin
又出错:
Cloning into ‘tensorflow/lite/micro/tools/make/downloads/pigweed’…
fatal: unable to access ‘https://pigweed.googlesource.com/pigweed/pigweed/’: Failed to connect to pigweed.googlesource.com port 443: Connection refused
tensorflow/lite/micro/tools/make/Makefile:614: *** Something went wrong with the pigweed download: . Stop.
这里面pigweed.googlesource.com port 443 我们无法访问。
我们还要解决一下:
这个make file 的600多行处:
这里面需要修改一下:参考如下文章:
https://bbs.elecfans.com/jishu_2289346_1_1.html
vi tensorflow/lite/micro/tools/make/pigweed_download.sh
我们修改一下这个文件
修改成:
之后在编译一下,可以了,
但是又出错啦!
继续填坑!
休息,带小孩清华里面逛一圈去,吸取一下养分,也是无语啦!