arduino / arduino/ArduinoTensorFlowLiteTutorials
Breakage caused by removal of "Arduino_TensorFlowLite" library from Library Manager
- Linguagem predominante
- Jupyter Notebook
- Estrelas
- 270
- Forks
- 122
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece pela seção de instalação em GestureToEmoji/exercises/exercise1.md, pelo sketch IMU_Classifier e por .github/workflows/compile-sketches.yml. Verifique como a biblioteca TensorFlow é instalada e qual header o sketch inclui; em seguida, confirme que a documentação e o workflow usam o caminho de instalação compatível e que os sketches são compilados com sucesso.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- github-actions, tensorflow
- Domínio
- ci-cd, documentation, embedded-iot
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100