Persistent YAML Parsing Error During Model Compilation with Hailo AI Software Suite

Dear Hailo Support Team,

I am working on a project to build an AI traffic light detection system using a Raspberry Pi 5 paired with a Hailo AI accelerator. I’m encountering a persistent error when trying to compile my YOLOv5 model using the Hailo AI Software Suite in Docker.

Environment:

  • Development machine: Windows PC with WSL2 and Docker Desktop
  • Hailo AI Software Suite: Docker (x86) version 2025-04
  • Model: YOLOv5su in ONNX format

Error Message:

Exception: Encountered error during parsing: Expecting value: line 1 column 1 (char 0)

Steps Already Taken:

  1. Set up proper project directory structure with models, images, and configuration files
  2. Fixed all YAML syntax issues in the main configuration file (indentation, duplicate keys)
  3. Created multiple versions of the YOLOv5 architecture file:
  • Windows-created file
  • Docker-native file created with heredoc
  • Minimal test YAML file
  1. Attempted to bypass the architecture file requirement by removing the cfg: line
  2. Verified file permissions and content visibility within Docker

The error persists across all these approaches, suggesting a deeper issue with the environment configuration, version compatibility, or Docker container state.

Relevant Files:

  1. ONNX model: yolov5su.onnx
  2. Configuration: yolov5su_hailo_config.yaml
  3. Architecture: yolov5s.yaml

I would appreciate your assistance in resolving this issue. Please let me know if you need any additional information or if there are specific diagnostics I should run.

Thank you,

Welcome to the Hailo Community!

The Hailo AI Software Suite Docker is only supported on 64-bit Ubuntu 20.04 or 22.04, and it must run natively - not under WSL2. For more details, refer to the Hailo AI Software Suite User Guide.

The Hailo Dataflow Compiler is supported under WSL2, though it comes with its own limitations.

For optimal compatibility and performance, I recommend running the Hailo AI Software Suite Docker on native Ubuntu 22.04.