@tom said in Where to see fprintf messages coming from voxl-tflite-server?:
systemctl stop voxl-tflite-server
Still I can't see the outputs of fprintf(stderr,...)
@tom said in Where to see fprintf messages coming from voxl-tflite-server?:
systemctl stop voxl-tflite-server
Still I can't see the outputs of fprintf(stderr,...)
I am accessing voxl2 via WSL2 Ubuntu on Windows 11 through adb shell. I want to debug the voxl-tflite-server line by line similar to the way one can debug software on visual studio by putting breakpoints and checking the variable values.
Is there a way to do so while executing the package on voxl? I want to debug voxl-tflite-server while taking input camera frames from the high res camera.
I have trained a custom object detection model for VOXL2 and already deployed it using voxl-cross. To test it, I do voxl-configure-tflite and select my custom model to work with high-res camera.
My custom model is based on mobilenetv2, trained using tflite mediapipe library exactly the way shown here: https://colab.research.google.com/github/googlesamples/mediapipe/blob/main/examples/customization/object_detector.ipynb#scrollTo=Mz3-eHe07FEX
The problem is that my model loads up and shows on the VOXL portal under tflite on multi-view page, but does not draw any bounding boxes around the objects. I'm not sure what's wrong and trying to debug it going through entire tflite source code. I wanted to see the outputs of fprintf(stderr,...) in the source code but not sure how to access that. Any suggestions?
Thanks
I have hires cam connected and configured to group 1 on VOXL2. I can see the output on portal. However, when I configure tflite server, I do not see any output on the portal. The source for "tflite" says "unknown" instead of "voxl-tflite-server". Everything works fine if I configure the tflite server to run detection on M0014 tracking camera. Only the M0025-2 is not working with voxl tflite server.