Hi
I trained a YOLOv8 nano model in the Ultralytics Hub and exported as ONNX. I have followed the Hailo DCF User Guide using Jupyter Notebook and have managed to generate an optimized/quantized .HAR file. Unfortunatley at the final step of compiling the HEF file, I’m coming unstuck. I’ve tried both the hailomz command in the Docker terminal, and the below script from the DCF Guide (in Notebook), but no luck.
runner.load_model_script(alls)
hef = runner.compile()
file_name = f"{model_name}.hef"
with open(file_name, “wb”) as f:
f.write(hef)
My only deviation from the tutorial throughout the process was amending the output_height and output_width from 224 to 640. Here are portions of the error message I’m getting:
[error] Mapping Failed (allocation time: 57s)
No successful assignment for: format_conversion1, concat17, feature_splitter9, shortcut_softmax1, reduce_max_softmax1, ew_sub_softmax1, reduce_sum_softmax1, ew_mult_softmax1, conv64
"[error] Failed to produce compiled graph
BackendAllocatorException: Compilation failed: No successful assignment for: format_conversion1, concat17, feature_splitter9, shortcut_softmax1, reduce_max_softmax1, ew_sub_softmax1, reduce_sum_softmax1, ew_mult_softmax1, conv64"
I’m doing this as a hobby project and am not a technical person; I’ve had to make extensive use of ChatGPT to get this far. I would appreciate any guidance. Please let me know if you require me to share more detail around the error.