arduino / arduino/ArduinoTensorFlowLiteTutorials
Breakage caused by removal of "Arduino_TensorFlowLite" library from Library Manager
- 主要語言
- Jupyter Notebook
- 星號
- 270
- 分支
- 122
- PR 合併指標
- 30 天內沒有已合併 PR
描述
The "**Arduino_TensorFlowLite**" library dependency of these tutorials was removed from Library Manager at the request of the TensorFlow Lite Micro maintainers (https://github.com/arduino/library-registry/pull/1748).
That removal impacts this project in several ways:
## Documentation
The installation instructions specify installation of the library from Library Manager:
https://github.com/arduino/ArduinoTensorFlowLiteTutorials/blob/master/GestureToEmoji/exercises/exercise1.md#arduino-libraries
> Install the following Arduino libraries using the Library manager:
>
>- TensorFlow Lite library (search for "Arduino_TensorFlowLite")
This is no longer possible.
TensorFlow's library must be installed manually. The library's documentation provides instructions:
https://github.com/tensorflow/tflite-micro-arduino-examples#how-to-install
## Code
TensorFlow's library does not contain the file `tensorflow/lite/version.h`, so the code that contains an `#include` directive for this header no longer compiles:
```text
home/runner/work/ArduinoTensorFlowLiteTutorials/ArduinoTensorFlowLiteTutorials/GestureToEmoji/ArduinoSketches/IMU_Classifier/IMU_Classifier.ino:28:10: fatal error: tensorflow/lite/version.h: No such file or directory
#include
^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```
## CI
The repository contains a GitHub Actions workflow that provides a "smoke test" on relevant changes to the project by compiling the sketches:
https://github.com/arduino/ArduinoTensorFlowLiteTutorials/blob/master/.github/workflows/compile-sketches.yml
The workflow is [configured](https://github.com/arduino/compile-sketches#libraries) to install the dependency from Library Manager, which now fails:
```text
Running command: /home/runner/bin/arduino-cli lib install Arduino_TensorFlowLite
Error installing Arduino_TensorFlowLite: Library 'Arduino_TensorFlowLite' not found
```
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 GestureToEmoji/exercises/exercise1.md 中的安裝部分、IMU_Classifier sketch 和 .github/workflows/compile-sketches.yml 開始。檢查 TensorFlow 函式庫的安裝方式以及 sketch 包含的 header,然後驗證文件和 workflow 使用受支援的安裝路徑,並確認各個 sketch 都能成功編譯。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github-actions, tensorflow
- 領域
- ci-cd, documentation, embedded-iot
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100