PythonAPI: hailort.log polluted by 'No name was given' every video-frame

Hi,

When running this python-API example:

My hailort.log gets polluted by this line every video-frame:
[2025-02-12 19:43:59.345] [32812] [HailoRT] [info] [hef.cpp:1929] [get_network_group_and_network_name] No name was given. Addressing all networks of default network_group: yolov8s

I plan on using the Python-API, but always get this issue. How can I solve this?

Let me clarify the ‘urgency’ of this issue a bit more…

Running a Raspberry PI from SD card has one big limitation: The number of write-cycles of the SD card. This logging-bug (?) will break your PI in a month (guestimate).

Hey @Harrie_Adriaantje ,

Welcome to the Hailo Community!

this log message indicates that the HailoRT API is assigning a default network group because no explicit network group name was provided.

[2025-02-12 19:43:59.345] [32812] [HailoRT] [info] [hef.cpp:1929] [get_network_group_and_network_name] No name was given. Addressing all networks of default network_group: yolov8s

To fix this and avoid the message, you should explicitly name your network group. Here’s how to do it:

First, check what network groups are available in your HEF file:


hef = hailort.HEF("path/to/your_model.hef")
network_group_names = hef.get_network_group_names()
print("Available Network Groups:", network_group_names)

Then use the specific network group name when configuring your device:

device = hailort.Device()
configured_network_group = device.configure(hef, network_group_name="your_network_group_name")

activated_network_group = configured_network_group.activate()

This way, you explicitly tell HailoRT which network group to use instead of letting it default to one automatically.

I have the same issue, I try to run this example, but the logs are just keep coming. Here only VDevice is used, could you please show an example how to configure network group using VDevice and in the detection_with_tracker example?

Hi omria,

The first part provides me with this:
network_group_names = [‘yolov8s’]

For the second part, however, I have no clue where to apply this in the detection_with_tracker example (I did try some places, but kept getting errors).

Could you give some more hints. For example in which file and function to apply this piece of code.

1 Like