Restored ONNX model killed


When I convert onnx to hef, it is always killed automatically. How can I solve this problem?

Hey @chenyao ,

Could you give us some more details about this?

Also, we recommend to handle the parsing step first!

CLI Command for the Parsing Step

You can use the hailo parser CLI tool to convert your model (like an ONNX model) into a Hailo Archive (HAR) file. This is the initial “parse” stage in the compilation process.

# Parse an ONNX model into a HAR file
hailo parser onnx /path/to/model.onnx \
    --input-format BWC \
    --output /path/to/model.har

The --input-format BWC parameter specifies a batch-width-channels layout - you’ll want to adjust this based on your specific model’s tensor format.

If you need to see what other parsing options are available, just run:

hailo parser onnx --help


Hi!Thank you for your reply.This is the operator included in my onnx, I only know that GridSample is not supported. Do you have any suggestions on your end?