Common Failure Resolutions

Segmentation fault:core dumped

This error may be caused by insufficient memory on the physical machine, an old tool version, an illegal model, or a tool bug. Please troubleshoot it in the following ways:

  1. Verify that there are no other tasks on the current physical machine that are taking up memory (or switch to a development machine with more memory);
  2. Upgrade the toolchain version to the latest and reconvert the model;
  3. Verify that the original model itself is legal, e.g. that the onnx model runs correctly in the onnxruntime;
  4. If the above checks do not resolve the issue, please contact the Horizon team.

ERROR Wrong mean_value num received

ERROR yaml file parse failed. Please double check your config file inputs ERROR Wrong mean_value num received. input mean_value num n is not equal to input num m

This error is caused by the number of mean_value parameter in the yaml file does not match the number of model input nodes, please check accordingly. The mean_value of different input nodes need to be separated by ";" signs; If the model is a hybrid multi-input model (i.e. contains both image and featuremap input nodes), the mean_value parameter of the featuremap node needs to be given a placeholder with "None" corresponding to input_name.

ERROR The input model is invalid

This error is caused by the model itself being illegal, i.e. it does not satisfy the checking logic of the public onnxruntime, so please check the model by yourself.