• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Where to see fprintf messages coming from voxl-tflite-server?

    Ask your questions right here!
    2
    4
    50
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arcj
      last edited by 18 Feb 2025, 16:50

      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

      T 1 Reply Last reply 18 Feb 2025, 18:27 Reply Quote 0
      • T
        tom admin @arcj
        last edited by 18 Feb 2025, 18:27

        @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-server
        

        and also kill it

        systemctl stop voxl-tflite-server
        

        then run voxl-tflite-server from the command line to monitor the output

        A 1 Reply Last reply 18 Feb 2025, 20:58 Reply Quote 0
        • A
          arcj @tom
          last edited by 18 Feb 2025, 20:58

          @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,...)

          T 1 Reply Last reply 18 Feb 2025, 21:16 Reply Quote 0
          • T
            tom admin @arcj
            last edited by 18 Feb 2025, 21:16

            @arcj Try voxl-tflite-server -d

            1 Reply Last reply Reply Quote 0
            1 out of 4
            • First post
              1/4
              Last post
            Powered by NodeBB | Contributors