ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Karl-pan
    K
    • Profile
    • Following 0
    • Followers 1
    • Topics 2
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Karl-pan

    @Karl-pan

    0
    Reputation
    8
    Profile views
    5
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Karl-pan Unfollow Follow

    Latest posts made by Karl-pan

    • RE: Modalai Server Client Issue

      Hi @Alex-Kushleyev,

      Here are links to the relevant parts of my source code:
      https://pastebin.com/aXYrE9qZ
      https://pastebin.com/CkHsVC5N
      Additionally, I have attached another image below showing the version of the VOXL2 SDK I am using for your reference
      Screenshot from 2025-01-10 11-44-21.png

      Karl

      posted in Ask your questions right here!
      K
      Karl-pan
    • RE: Modalai Server Client Issue

      Hi @Alex-Kushleyev,

      Thank you for your response. Attached below is a screenshot of my subscription code for your reference:
      Screenshot from 2025-01-09 14-33-51.png
      Screenshot from 2025-01-09 14-48-36.png
      I suspect the issue might be related to the pipe_client_get_next_available_channel() function. Please let me know if there are any specific tests you would recommend to further diagnose this issue.

      Karl

      posted in Ask your questions right here!
      K
      Karl-pan
    • RE: Tflite Server Issue

      Hi @Zachary-Lowell-0. We have confirmed that the camera is functioning correctly, so it seems unlikely that the issue is camera-related. Since the problem occurs at the output_tensor float pointer rather than a frame nullptr, the root cause appears to be elsewhere. Additionally, upon further inspection, I noticed that the label_in_use parameter no longer exists starting from v0.3.5. Could you clarify where the label file is defined in versions after v0.3.5? For now, we are using v0.3.4, which works as expected.
      Screenshot from 2025-01-07 17-30-38.png
      Picture above is a debugger mode result showing the output_tensor state, where data is present in bbox_list, confirming that the frame is working correctly. I am attempting to access data[index+4] in the file inference_helper.cpp on line 770, as shown in the picture below.
      Screenshot from 2025-01-07 17-29-32.png

      posted in Ask your questions right here!
      K
      Karl-pan
    • Modalai Server Client Issue

      I've been working with the ModalAI server and encountered a warning while creating a client that subscribes to the server. The warning states: "too many clients are trying to connect," even when the machine has just been rebooted.

      Upon inspecting the source code, the warning occurs when no channels are available (i.e., no channel is uninitialized or disconnected). This behavior seems abnormal during a reboot.

      Has anyone experienced similar issues or have insights into why channels might be occupied right after a reboot? Any suggestions for further debugging or resolving this would be appreciated.

      posted in Ask your questions right here!
      K
      Karl-pan
    • Tflite Server Issue

      I've been working with tflite server and encountered an issue when trying to run inference with my models.

      When using version v0.3.1, the server works correctly with a normal model. However, when switching to a custom model with only two labels, the server shuts down due to a segmentation fault.

      Upon testing with version v0.3.5, the server shuts down regardless of whether I use a custom model or a regular model. I've tried enabling debug mode, and it reveals that the issue occurs in the InferenceHelper::postprocess_yolov5 function. Specifically, the error arises in the getbbox function where it attempts to access an invalid memory location in the output_tensor float pointer.

      Has anyone else encountered this issue or have suggestions for debugging this further? Is it a bug in the latest version, or could it be related to how the models are exported? Any guidance would be appreciated.

      posted in Ask your questions right here!
      K
      Karl-pan