arduino / arduino/ArduinoTensorFlowLiteTutorials
Breakage caused by removal of "Arduino_TensorFlowLite" library from Library Manager
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 270
- Fork
- 122
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với phần cài đặt trong GestureToEmoji/exercises/exercise1.md, sketch IMU_Classifier và .github/workflows/compile-sketches.yml. Kiểm tra cách cài đặt thư viện TensorFlow và header mà sketch include, sau đó xác minh rằng tài liệu và workflow sử dụng đường dẫn cài đặt được hỗ trợ, đồng thời các sketch biên dịch thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github-actions, tensorflow
- Lĩnh vực
- ci-cd, documentation, embedded-iot
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100