Compilation failed: Invalid configuration

Hi
i’ve been using the Hailo compiler already before without problems, but somehow something changed and fails on the final step when trying to compile to .hef:

hailo compiler optimized.har --hw-arch hailo8

I’m getting this error:

[info] Current Time: 14:57:02, 12/11/24
[info] CPU: Architecture: x86_64, Model: , Number Of Cores: 8, Utilization: 0.2%
[info] Memory: Total: 18GB, Available: 16GB
[info] System info: OS: Linux, Kernel: 6.8.0-49-generic
[info] Hailo DFC Version: 3.29.0
[info] HailoRT Version: Not Installed
[info] PCIe: No Hailo PCIe device was found
[info] Running hailo compiler super8_optimized.har --hw-arch hailo8
[info] Compiling network
[info] To achieve optimal performance, set the compiler_optimization_level to “max” by adding performance_param(compiler_optimization_level=max) to the model script. Note that this may increase compilation time.
[info] Loading network parameters
[info] Starting Hailo allocation and compilation flow
[info] Adding an output layer after nms1
Invalid configuration

[error] Failed to produce compiled graph
[error] BackendAllocatorException: Compilation failed: Invalid configuration

Any idea what could be wrong?
PS: I need to compile in a VirtualMachine environment, so no PCI Drivers are available but as mentioned, it already worked before.

Hi @Darklord_Ice,
The fact that you don’t have HailoRT installed is not a problem for the compiler to be able to finish gracefully.

So, this specific ONNX was able to get compiled, and now it’s not? Do have the core.log in the running directory?

nope … there’s only the same error message again …

here’s my convert process:

python train.py --img 1088 --batch 16 --epochs 50 --data …\Trainingsdaten\Super8neu\data.yaml --weights yolov5s.pt --cache --device cpu --project ./Ergebnis/ --name Super8

python export.py --weights ./Ergebnis//Super8/weights/best.pt --img 1088 --batch 1 --include onnx

hailo parser onnx super8.onnx

hailo optimize super8.har --hw-arch hailo8 --use-random-calib-set

^^ works anything until this:

hailo compiler super8_optimized.har --hw-arch hailo8

any ideas what could be wrong?
I’ve tried different Data and settings :confused:

The erros is related to bbox calculation, are you not using any model script?