hailomz compile yolov8s_pose --ckpt=cybest.onnx --hw-arch hailo8l --calib-path train/images --classes 1 --performance
I used the code below to see where the problem occurred while using the code above.
hailomz parse yolov8s_pose --ckpt=cybest.onnx --hw-arch hailo8l
I noticed that the har conversion itself is not working and both codes are the same error.
(hailodfc) victrontech@DESKTOP-1P40E65:~/hailo6D$ hailomz parse yolov8s_pose --ckpt=cybest.onnx --hw-arch hailo8l
Start run for network yolov8s_pose …
Initializing the runner…
[info] Translation started on ONNX model yolov8s_pose
[info] Restored ONNX model yolov8s_pose (completion time: 00:00:00.24)
[info] Extracted ONNXRuntime meta-data for Hailo model (completion time: 00:00:00.81)
[info] Start nodes mapped from original model: ‘images’: ‘yolov8s_pose/input_layer1’.
[info] End nodes mapped from original model: ‘/model.22/cv2.2/cv2.2.2/Conv’, ‘/model.22/cv3.2/cv3.2.2/Conv’, ‘/model.22/cv4.2/cv4.2.2/Conv’, ‘/model.22/cv2.1/cv2.1.2/Conv’, ‘/model.22/cv3.1/cv3.1.2/Conv’, ‘/model.22/cv4.1/cv4.1.2/Conv’, ‘/model.22/cv2.0/cv2.0.2/Conv’, ‘/model.22/cv3.0/cv3.0.2/Conv’, ‘/model.22/cv4.0/cv4.0.2/Conv’.
[info] Translation completed on ONNX model yolov8s_pose (completion time: 00:00:01.17)
Traceback (most recent call last):
File “/home/victrontech/miniconda3/envs/hailodfc/bin/hailomz”, line 33, in
sys.exit(load_entry_point(‘hailo-model-zoo’, ‘console_scripts’, ‘hailomz’)())
File “/home/victrontech/hailo6D/hailo_model_zoo/hailo_model_zoo/main.py”, line 122, in main
run(args)
File “/home/victrontech/hailo6D/hailo_model_zoo/hailo_model_zoo/main.py”, line 111, in run
return handlersargs.command
File “/home/victrontech/hailo6D/hailo_model_zoo/hailo_model_zoo/main_driver.py”, line 201, in parse
parse_model(runner, network_info, ckpt_path=args.ckpt_path, results_dir=args.results_dir, logger=logger)
File “/home/victrontech/hailo6D/hailo_model_zoo/hailo_model_zoo/core/main_utils.py”, line 148, in parse_model
runner.save_har(results_dir / f"{network_info.network.network_name}.har")
File “/home/victrontech/miniconda3/envs/hailodfc/lib/python3.10/site-packages/hailo_sdk_common/states/states.py”, line 13, in wrapped_func
raise InvalidStateException(
hailo_sdk_common.states.states.InvalidStateException: The execution of save_har is not available under the state: uninitialized