Where to see fprintf messages coming from voxl-tflite-server?
-
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 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
@arcj voxl-tflite-server is likely running as a systemd service.
For debugging purposes I would disable it from running on boot with the following:
systemctl disable voxl-tflite-serverand also kill it
systemctl stop voxl-tflite-serverthen run
voxl-tflite-serverfrom the command line to monitor the output -
@arcj voxl-tflite-server is likely running as a systemd service.
For debugging purposes I would disable it from running on boot with the following:
systemctl disable voxl-tflite-serverand also kill it
systemctl stop voxl-tflite-serverthen run
voxl-tflite-serverfrom the command line to monitor the output -
@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,...)
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login