Can’t pass network group name in Python to get rid of log message [get_network_group_and_network_name] No name was given.

Hey @Chuck_Rhodes,

I’d recommend taking a look at a couple of resources that should help you out with the inference :

  1. First, check out the inference class here: Hailo-Application-Code-Examples/runtime/hailo-8/python/common/hailo_inference.py at main · hailo-ai/Hailo-Application-Code-Examples · GitHub - this shows you how it’s structured.

  2. Then look at how it’s actually used in this example: Hailo-Application-Code-Examples/runtime/hailo-8/python/object_detection/object_detection.py at main · hailo-ai/Hailo-Application-Code-Examples · GitHub

A couple of important things to keep in mind:

  • Make sure your key matches the network group name (not just the network name - it follows the format group/network)
  • You need to use the low-level ConfigureParams from _pyhailort, not the high-level wrapper
  • If you’re getting an error like expected Dict[str, _pyhailort.ConfigureParams], that usually means you’re accidentally using the high-level version instead

About that log message you’re seeing:

[HailoRT] [info] [hef.cpp:1994] [get_network_group_and_network_name] No name was given...

This pops up when either no name gets passed or the device isn’t configured properly with the right network group. Once you get the mapping sorted out in your configure() call, that message should stop showing up.

Hope this helps!