Error creating hef file after succeseful quantization- mapping fail


Hey @dudibs,

It looks like the main issue here is the error: “No successful assignment for: format_conversion11.” This means the compiler couldn’t allocate resources for a specific format conversion operation, which seems to be related to data format incompatibilities with the SegFormer architecture on Hailo’s hardware.

Here are some potential solutions:

  1. Analyze the Model: Use the Hailo Profiler or Visualizer to better understand where the problem lies.

  2. Modify Compilation Parameters: Try adjusting the optimization level to MAX during compilation.

  3. Pre-process the Model: Consider modifying your ONNX model before compilation to eliminate the need for format_conversion11. Tools like ONNX Runtime or Netron can help you visualize and adjust the model structure.

  4. Enable Layer Splitting: Turn on automatic layer splitting, which might assist in resource allocation.

  5. Investigate format_conversion11: Review your original model to identify what operation is leading to this format conversion. If possible, replace it with a Hailo-compatible alternative.


Let me know if you need further help!