[error] KeyError: 'USER' when run hailomz compile

  • Environment:
    Docker, Ubuntu22.04, python 3.10, hailo_dataflow_compiler-3.30.0-py3-none-linux_x86_64
  • Command:
    hailomz compile yolov8m --ckpt=test/yolov8m.onnx --hw-arch hailo8 --calib-path test/val2017 --classes 80 --performance
  • Error:
    [info] ParsedPerformanceParam command, setting optimization_level(max=2)

[info] Appending model script commands to yolov8m from string

[info] ParsedPerformanceParam command, setting optimization_level(max=2)

[error] KeyError: ‘USER’

Thank you for your help

3 Likes

I have this same error. Also using Ubuntu 22.04 on a x86_64 architecture. also trying to run similar command
hailomz compile yolov8n --ckpt=models/best.onnx --hw-arch hailo8l --calib-path calibration_images --classes 12 --performance

By the way, if you sent the USER environment variabl, this error goes away.

1 Like