Open BrickDesignerNL opened 1 day ago
And again the
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
error after installing setuptools using
py -m install setuptools
and then re-running requirements.txt
python -m pip install -r requirements.txt
instead of py -m pip install -r requirements.txt
(it seems to functions the opposite of venv)python -m qai-hub-models.models.whisper_base_en.export --target-runtime onnx
C:\Users\
Typo in readme: https://github.com/quic/ai-hub-apps/blob/main/apps/windows/python/Whisper/README.md
Instruction needs to be
python -m qai_hub_models.models.whisper_base_en.export --target-runtime onnx
not
python -m qai-hub-models.models.whisper_base_en.export --target-runtime onnx
(underscore vs dash)
as in line with:
https://github.com/quic/ai-hub-models/tree/main/qai_hub_models/models/whisper_base_en qai_hub_models/models/whisper_base_en
and don't forget to run
pip install "qai_hub_models[whisper_base_en]"
How should I use: https://aihub.qualcomm.com/models/whisper_base_en?chipsets=Snapdragon+X+Elite
click "download model" on the link above to get a S3 link with temporary access to download:
https://tetrahub-qprod-userdata.s3.amazonaws.com/models/mmdyv5ywm_GLlPHt0OMqSg80pW.bin
I see an ONNX file and bin files. How can I use those? And how can I use them in a way that they run on the GPU/NPU and have a nice UI, like ONNX-web or Forge WebUI?
Typo in readme: https://github.com/quic/ai-hub-apps/blob/main/apps/windows/python/Whisper/README.md
Thanks for the report. We've actually fixed this already (yay!) and it will be included in the next release of AI Hub Apps.
I see an ONNX file and bin files. How can I use those?
Great question. The ONNX files you can download here are used by the whisper python demo you linked to above. The context binaries (.bin) are more complex. I recommend you reach out on our Slack so we can communicate more directly about this (ONNX, and Context Binaries)
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
I see "Python313" in your error message. Are you using Python 3.13?
I've seen similar errors before when trying it. We don't support 3.13--our supported pythons are 3.9, 3.10, 3.11, and 3.12.
Describe the bug Dependencies not there
To Reproduce
Expected behavior I expected that the above would run and that I then finally could run
py -m qai-hub-models.models.whisper_base_en.export --target-runtime onnx py demo.py --audio_path /path/to/test/data.mp3
To get the first thing running.
Stack trace (whisper) C:\Users\\miniconda3\envs\whisper>py -m pip install -r requirements.txt
Collecting opencv-python (from -r requirements.txt (line 1))
Using cached opencv-python-4.10.0.84.tar.gz (95.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\\AppData\Local\Programs\Python\Python313-arm64\Lib\site-packages\pip_internal\cli\base_command.py", line 105, in _run_wrapper
status = _inner_run()
File "C:\Users\\AppData\Local\Programs\Python\Python313-arm64\Lib\site-packages\pip_internal\cli\base_command.py", line 96, in _inner_run
return self.run(options, args)