here is my computer os: Linux PC 5.15.0-116-generic #126~20.04.1-Ubuntu SMP Mon Jul 1 15:40:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
, and run in Python 3.8.10
And I install
Name: hailo-model-zoo
Version: 2.12.0
Summary: Hailo machine learning utilities and examples
Home-page: https://hailo.ai/
Author: Hailo team
Author-email: [email protected]
License: MIT
Location: /home/jiahao/hailo_env/lib/python3.8/site-packages
Requires: detection-tools, scikit-image, scikit-learn, pycocotools, pillow, motmetrics, opencv-python, Cython, scipy, termcolor, imageio, numpy, matplotlib, omegaconf, lap, tqdm
Required-by:
from here and install
Name: hailo-dataflow-compiler
Version: 3.28.0
Summary: Hailo Dataflow Compiler
Home-page: https://hailo.ai/
Author: Hailo team
Author-email: [email protected]
License: None
Location: /home/jiahao/hailo_env/lib/python3.8/site-packages
Requires: pygraphviz, verboselogs, numpy, testresources, importlib-metadata, pyparsing, py, keras, tflite, packaging, setuptools, tqdm, msgpack, tensorflow-probability, pandas, jupyter, typing-extensions, argcomplete, wheel, onnx, absl-py, tabulate, ipython, networkx, scipy, jsonref, contextlib2, grpcio, jedi, matplotlib, pwlf, Pillow, h5py, six, protobuf, tensorboard, py-cpuinfo, prompt-toolkit, disjoint-set, flatbuffers, onnxruntime, gast, onnx-tf, onnxsim, jsonschema, pydantic, tensorflow, parso, PyYAML, prettytable, future
Required-by:
from here
so I input command hailomz parse yolov8n
and I get yolov8n.har
, and then I input hailomz optimize yolov8n --har /PATH/yolov8n.har
, and I get error below:
(hailo_env) jiahao@PC:~/Downloads$ hailomz optimize yolov8n --har /home/jiahao/Downloads/yolov8n.har --hw-arch hailo8l
<Hailo Model Zoo INFO> Start run for network yolov8n ...
<Hailo Model Zoo INFO> Initializing the hailo8l runner...
[warning] hw_arch from HAR is hailo8 but client runner was initialized with hailo8l. Using hailo8l
Traceback (most recent call last):
File "/home/jiahao/hailo_env/bin/hailomz", line 8, in <module>
sys.exit(main())
File "/home/jiahao/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/main.py", line 122, in main
run(args)
File "/home/jiahao/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/main.py", line 111, in run
return handlers[args.command](args)
File "/home/jiahao/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/main_driver.py", line 220, in optimize
model_script = _extract_model_script_path(
File "/home/jiahao/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/main_driver.py", line 55, in _extract_model_script_path
else resolve_alls_path(networks_alls_script, hw_arch=hw_arch, performance=performance)
File "/home/jiahao/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/core/main_utils.py", line 38, in resolve_alls_path
return path_resolver.resolve_alls_path(Path(hw_arch) / Path("base" if not performance else "performance") / path)
File "/home/jiahao/hailo_env/lib/python3.8/site-packages/hailo_model_zoo/utils/path_resolver.py", line 29, in resolve_alls_path
raise FileNotFoundError("no alls found for requested hw_arch")
FileNotFoundError: no alls found for requested hw_arch
someone help