Open tiensu opened 2 years ago
I built tensorflow 2.6 on host machine, then copy to rb5 device. After that, I can compile app successfully on rb5. But when I run "./object-detector 0 /dev/video0" command, there new an error "free(): invalid pointer".
Can you help me how to solve this problem? Thank you!
I figured out the reason of my problem is TF version. I switched to TF 2.1, and the error didn't display. But with TF 2.1, I can't build TF with bazel: "bazel build --config=elinux_aarch64 -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 tensorflow/lite/delegates/gpu:libtensorflowlite_gpu_delegate.so" There is an "ERROR: Config value elinux_aarch64 is not defined in any .rc file".
I also tried with latest version of TF, but it doesn't have download_dependencies.sh and build_aarch64_lib.sh file.
Which TF version did you use in this project?
./object-detector 0 /dev/video0
: please make sure your camera is connected. In this case, a webcam. If you want to use spi camera, you might need to modify the code.bazel build
: I can't remember correctly but probably one of the TF2.x. If you want to use the latest TF version, you can migrate the two scripts to it. Strongly recommend go to TF's github and explore its errors section. Thank you! I will check again!
@tiensu @DoanNguyenTr
How can i solve this issue... please help me with this
@tiensu @DoanNg
uyenTrong
Please help me want i have to do...
Hi Doan, I cloned repo object-detection-tflite-cpp to my host machine (Laptop ubuntu 18). When I run ./compile.sh command, there is an error:![image](https://user-images.githubusercontent.com/6857665/179170868-30a16d13-9dba-4e91-b7e0-635209677511.png)
If I clone and run on RB5 device, there is also an error:![image](https://user-images.githubusercontent.com/6857665/179171346-3af3efd2-8f06-4d35-a7eb-6661701d76e2.png)
Could help me how to fix those errors? Thank you very much!