You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 22.04.4 LTS
TensorFlow installed from (source or binary):
TensorFlow version (or github SHA if from source):
Provide the text output from tflite_convert
cant find information of how to build the lite c_api
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Also, please include a link to a GraphDef or the model if possible.
Any other info / logs
I used the tensorflow documentation of how to build the library with c_make but the terminal crush and close automatically in the step 5 whitout any error msg
The text was updated successfully, but these errors were encountered:
I didn't find the problem, but I used Bazel as an alternative.
Clone the TensorFlow Lite repository.
Build the library using this command: bazel build -c opt //tensorflow/lite/c:libtensorflowlite_c.so.
Copy libtensorflowlite_c.so to your folder from bazel-bin/tensorflow/lite/c/.
Compile: gcc -o hello_tf hello_tf.c -I. -Llib/tensorflow/lite -ltensorflowlite_c.
Copy and paste your dynamic library to /usr/lib: sudo cp lib/tensorflow/lite/libtensorflowlite_c.so /usr/lib.
Almost done: ./hello_tf.
System information
Provide the text output from tflite_convert
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Also, please include a link to a GraphDef or the model if possible.
Any other info / logs
I used the tensorflow documentation of how to build the library with c_make but the terminal crush and close automatically in the step 5 whitout any error msg
The text was updated successfully, but these errors were encountered: