-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zephyr tensorflow samples fail to build: ex. ./zephyr/samples/modules/tflite-micro/hello_world #69942
Comments
Can you double check if tflite-micro module is registered in and pulled to your local zephyr instance? I met similar issue before and found that tflite-micro became an optional module (read the PR #61505 for details) and would NOT be pulled by default. You need to explicitly ask for it by running
|
@wentong-li your suggestion worked on my macOS Ventura system just as you specified.
But on my Ubuntu 22.04 system I had to use the following form...
This second form installed an unneeded module, thrift, but I don't think there is any harm in that. I believe the README.md file should be updated to show the use of this command, as it is necessary to build the sample code. From my perspective, this issue can be closed. |
That's a good idea. Would you be willing to submit a pull request for adding this information? |
tflite-micro is an optional module now, and needs to be pulled for the sample to build. Fixes zephyrproject-rtos#69942. Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
tflite-micro is an optional module now, and needs to be pulled for the sample to build. Fixes #69942. Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
tflite-micro is an optional module now, and needs to be pulled for the sample to build. Fixes zephyrproject-rtos#69942. Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
Describe the bug
Zephyr tensorflow samples (./zephyr/modules/tflite_micro/hello_world for example) do not build.
This is due to missing tensorflow missing from zephyrproject/modules area.
The README.md file may also be needing review to guide through the extra build steps needed.
To Reproduce
Repro of issue is pretty straight forward; just attempt to build the tensorflow tflite-micro samples.
The terminal output is shown below.
Expected behavior
Sample "Hello World" project for tflite-micro should build without issues.
Question: is west suppose to download tensorflow module from github or is that a manual procedure?
The README.md file is unclear about this.
Impact
Failure to begin evaluation of TensorFlow on Zephyr platforms.
Logs and console output
Environment :
The text was updated successfully, but these errors were encountered: