-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
fatal error: 'tensorflow/lite/c/c_api.h' file not found #91
Comments
I'm having the same issue. |
I'm having the same issue. |
Same issue here. Any one have solution? |
Same here. Temporary fix is to manually clone tensorflow repo into |
Can you elaborate on your solution? Exactly which module of tensorflow is copied in? |
Exactly the one i linked. |
By clone tensor flow repo, did you mean the entire repo of tensorflow? |
yes, the entire repo. EDIT: |
No, It is not neccessary! The only thing you must do is to copy In my project, It work fine! But, I meet other issue again. It can't read my tflite model now! |
@CannoChen was the next issue related also to this issue ? |
have you tried pointing to master instead of the npm version? |
Are you seeing this on Android & iOS? I am seeing only in Android |
This is what I did to solve it: Now, every time I run |
Same problem here. I hope a solution can be delivered this week . I need TFLite for my project. Thanks |
Just take the 1.3.0 version while waiting for the issue to be fixed. |
You can try using tensorflowjs directly. For me, I gave up using this repo. after I used tensorflowjs, my project worked correctly. You can find the code in my project: https://github.com/CannoChen/SmartBMS |
No, it isn't. In my view, I dont suggest you to use this repo. I suggest that you should use tensorflowjs directly!!! It more simple, and more close to tensorflow_lite model. |
I’d like to try using TFJS directly. But are the docs from tensorflow correct to install in React native? |
Of course, you can! But there are some tricks that you may focus:
|
I think this issue is related to the file change to |
any update on this? I need the fix in 1.5.0 to load file on android...but |
on 1.4.0, I have the following error on mac m2 when compiling:
In file included from /Users/pingou/react/app/node_modules/react-native-fast-tflite/cpp/TensorHelpers.cpp:9:
/Users/pingou/react/app/node_modules/react-native-fast-tflite/android/../cpp/TensorHelpers.h:15:10: fatal error: 'tensorflow/lite/c/c_api.h' file not found
#include <tensorflow/lite/c/c_api.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: