Skip to content
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

Compilation error: tensorflow/lite/micro/kernels/micro_ops.h: No such file or directory #34

Open
pv-98 opened this issue Feb 8, 2023 · 5 comments

Comments

@pv-98
Copy link

pv-98 commented Feb 8, 2023

I am currently working with arduino nano 33 ble sense. Since the tensorflow lite library for arduino was removed, I manually installed using this link https://downloads.arduino.cc/libraries/github.com/bcmi-labs/Arduino_TensorFlowLite-1.15.0-ALPHA.zip?_gl=1*1yhwoez*_ga*NzU5Nzg3Mzg0LjE2NzUxNTU5MDk.*_ga_NEXN8H46L5*MTY3NTg4MDMwNi4xMC4xLjE2NzU4ODA0NjguMC4wLjA.

While trying to run my code I'm getting this error eventhough I have the files exactly in the path mentioned. The header files look like this

#include "TensorFlowLite.h"
#include "main_functions.h"
#include "tensorflow/lite/micro/kernels/micro_ops.h"
#include "tensorflow/lite/micro/micro_error_reporter.h"
#include "tensorflow/lite/micro/micro_interpreter.h"
#include "tensorflow/lite/micro/micro_mutable_op_resolver.h"
#include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"

Can someone please help me?

@per1234
Copy link
Contributor

per1234 commented Feb 8, 2023

Hi @vpranesh. Where did you find that link? It is to a very outdated version of the library. Your code was intended to be used with a recent version (i.e., 2.4.0-ALPHA). This is the cause of the error.

Please give it a try with 2.4.0-ALPHA. If you still have a problem, post on the Arduino Forum:

https://forum.arduino.cc/

We'll surely be able to help you out over there.

UPDATE: forum topic here: https://forum.arduino.cc/t/getting-this-error-while-trying-to-compile-my-code-compilation-error-tensorflow-lite-micro-kernels-micro-ops-h-no-such-file-or-directory/1087846

@pv-98
Copy link
Author

pv-98 commented Feb 8, 2023

Hey @per1234 I found the link in this Forum https://forum.arduino.cc/t/why-i-cant-find-the-arduino-tensorflowlite-library-in-library-management/1044070..

Can you please provide me with the link for the new version?
Thanks

@pv-98
Copy link
Author

pv-98 commented Feb 8, 2023

Hey @per1234 I found the link in this Forum https://forum.arduino.cc/t/why-i-cant-find-the-arduino-tensorflowlite-library-in-library-management/1044070..

Can you please provide me with the link for the new version? Thanks

I found it..thanks

@per1234
Copy link
Contributor

per1234 commented Feb 8, 2023

I found the link in this Forum https://forum.arduino.cc/t/why-i-cant-find-the-arduino-tensorflowlite-library-in-library-management/1044070..

Ouch, that was actually me 🤦, but in my defense it was in response to someone specifically requesting that version.

I found it..thanks

You are welcome. If the problem is resolved you can close this issue.

We have a dedicated issue about updating the tutorials to work with TensorFlow's official Arduino Library now that Arduino's mirror library is no longer available: #32

@Mewankyrshan
Copy link

Hey. Could you please attach the download link?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants