arduino / arduino/ArduinoTensorFlowLiteTutorials

Breakage caused by removal of "Arduino_TensorFlowLite" library from Library Manager

オープン
#32 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。