Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'hailo_platform' #80

Open
paranoiks opened this issue Jan 8, 2025 · 0 comments
Open

No module named 'hailo_platform' #80

paranoiks opened this issue Jan 8, 2025 · 0 comments

Comments

@paranoiks
Copy link

I am following your tutorial to convert an ONNX model to HEF. I have installed the DFC and cloned the Model Zoo repo. However when I run the hailomz command I get the following order:

Traceback (most recent call last):
  File "/home/guest/source/hailo/hailodfc/bin/hailomz", line 33, in <module>
    sys.exit(load_entry_point('hailo-model-zoo', 'console_scripts', 'hailomz')())
  File "/home/guest/source/hailo/hailo_model_zoo/hailo_model_zoo/main.py", line 122, in main
    run(args)
  File "/home/guest/source/hailo/hailo_model_zoo/hailo_model_zoo/main.py", line 101, in run
    from hailo_model_zoo.main_driver import compile, evaluate, optimize, parse, profile
  File "/home/guest/source/hailo/hailo_model_zoo/hailo_model_zoo/main_driver.py", line 16, in <module>
    from hailo_model_zoo.core.main_utils import (
  File "/home/guest/source/hailo/hailo_model_zoo/hailo_model_zoo/core/main_utils.py", line 18, in <module>
    from hailo_model_zoo.core.infer import infer_factory
  File "/home/guest/source/hailo/hailo_model_zoo/hailo_model_zoo/core/infer/infer_factory.py", line 14, in <module>
    discovered_plugins = {name: importlib.import_module(name) for _, name, _ in iter_namespace(hailo_model_zoo.core.infer)}
  File "/home/guest/source/hailo/hailo_model_zoo/hailo_model_zoo/core/infer/infer_factory.py", line 14, in <dictcomp>
    discovered_plugins = {name: importlib.import_module(name) for _, name, _ in iter_namespace(hailo_model_zoo.core.infer)}
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/home/guest/source/hailo/hailo_model_zoo/hailo_model_zoo/core/infer/hw_infer_utils.py", line 6, in <module>
    from hailo_platform import (
ModuleNotFoundError: No module named 'hailo_platform'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant