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

Can't compile examples #3

Open
TimAtFacture opened this issue Oct 27, 2020 · 3 comments
Open

Can't compile examples #3

TimAtFacture opened this issue Oct 27, 2020 · 3 comments

Comments

@TimAtFacture
Copy link

TimAtFacture commented Oct 27, 2020

I am trying to follow the guide for these examples here. I have installed the TensorFlowLite library and SparkFun Apollo3 Boards Package as per the instructions. I have cloned this repo into Documents > Arduino > SparkFun and tried to upload the microspeech example but received the following error:

tensorflow/lite/c/c_api_internal.h: No such file or directory

full error message

  • I have tried with both the 2.1.0 and 1.15.0 NON-precompiled versions of this repo.
  • I have tried on two different Windows 10 systems and an Ubuntu system.
  • I have tried cloning the tensorflow repo into the /Tensorflow_AIOT2019/microspeech directory, and adjusting the fill path of the #include (to account for nested /tensorflow folder, "tensorflow/tensorflow/lite/c/c_api_internal.h")
  • I have tried cloning the tensorflow repo into the libraries folder, and including with <> (<tensorflow/lite/c/c_api_internal.h> and <tensorflow/tensorflow/lite/c/c_api_internal.h>).
@itswally1
Copy link

Same issue as above frustrating I will return the product because of no support. Your issue was reported on October 2020 with no responce

@piovac
Copy link

piovac commented Jan 16, 2021

I played around with it and i was able to make it compile. The reason is that the provided examples work only with version 1.15.0 (non-precompiled) version of the arduino TensorFlow library. The issue why is not working for other library version is that TensorFlowLite Micro is still in evolution (ALPHA) and many files got moved from the experimental folder on more release folders so the include path are not correct anymore. Also, some include files have been renamed and/or changed.

@piovac piovac mentioned this issue Jan 16, 2021
@hemlathapandey3
Copy link

Same issue. Can someone please guide how to resolve it?

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

4 participants