arduino / arduino/ArduinoTensorFlowLiteTutorials
Breakage caused by removal of "Arduino_TensorFlowLite" library from Library Manager
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 270
- Forks
- 122
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza con la sección de instalación de GestureToEmoji/exercises/exercise1.md, el sketch IMU_Classifier y .github/workflows/compile-sketches.yml. Comprueba cómo se instala la biblioteca TensorFlow y qué header incluye el sketch; después, verifica que la documentación y el workflow utilicen la ruta de instalación compatible y que los sketches se compilen correctamente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github-actions, tensorflow
- Área
- ci-cd, documentation, embedded-iot
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100