Breakage caused by removal of "Arduino_TensorFlowLite" library from Library Manager
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- github-actions, tensorflow
- Domain
- ci-cd, documentation, embedded-iot
Research direction
Start with the installation section in GestureToEmoji/exercises/exercise1.md, the IMU_Classifier sketch, and .github/workflows/compile-sketches.yml. Check how the TensorFlow library is installed and which header the sketch includes, then verify that the documentation and workflow use the supported installation path and that the sketches compile successfully.
Written by the indexing model from the issue text.
Description
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:
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:
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 <tensorflow/lite/version.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
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:
The workflow is configured to install the dependency from Library Manager, which now fails:
Running command: /home/runner/bin/arduino-cli lib install Arduino_TensorFlowLite
Error installing Arduino_TensorFlowLite: Library 'Arduino_TensorFlowLite' not found
- Dominant language
- Jupyter Notebook
- Stars
- 269
- Forks
- 122
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from arduino/ArduinoTensorFlowLiteTutorials
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
arduino/ArduinoTensorFlowLiteTutorials#37 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
arduino/ArduinoTensorFlowLiteTutorials#36 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
arduino/ArduinoTensorFlowLiteTutorials#35 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
arduino/ArduinoTensorFlowLiteTutorials#34 · 5 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
All issues in arduino/ArduinoTensorFlowLiteTutorials
Similar issues
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vsanthanam/JBird#429 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
alexgorbatchev/simple-ptt#14 ·
-
github-request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
openedx/axim-engineering#1758 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100