TensorFlow Lite Tool: Toco (轉換器)
toco是用來生成一個可供TensorFlow Lite框架使用tflite文件。
bazel 編譯方式
$ bazel build tensorflow/lite/toco:toco
程式位於tensorflow/lite/toco資料夾下。Toco有三個主要功能,即匯入、匯出和轉換。匯入將輸入轉為Model類別,匯出將模型轉為flite模型或是grpahviz。轉換以輸入標示為基礎對模型操作,並且它會刪除未使用的運算元等。
TensorFlow Lite Tool: Toco (轉換器)
toco是用來生成一個可供TensorFlow Lite框架使用tflite文件。
bazel 編譯方式
$ bazel build tensorflow/lite/toco:toco
程式位於tensorflow/lite/toco資料夾下。Toco有三個主要功能,即匯入、匯出和轉換。匯入將輸入轉為Model類別,匯出將模型轉為flite模型或是grpahviz。轉換以輸入標示為基礎對模型操作,並且它會刪除未使用的運算元等。
Build TensorFlow Lite Static Library on Raspberry Pi 4
I found a very useful resource about installing TensorFlow Lite 2.* on Raspberry Pi 4 as follows: https://qengineering.eu/install-tensorflow-2-lite-on-raspberry-pi-4.html
It's about to build TensorFlow Lite static library in version 2.4 :
So far as we have known that Raspberry Pi 4, which is based on ARMv7 Processor rev 3 (v7l), has much more CPU computing power than previous generations. Neural Compute Stick 2(NCS 2) is a Plug and Play Development Kit for AI Inferencing via USB. Fortunately, I have both of them. Because of that, I was just wondering how to use them at the same time. The first idea coming to my mind is about AI inferencing. If we can have Tensorflow installed on it and do inferencing using NCS 2, that will be great.