quic / ai-hub-models

The Qualcomm® AI Hub Models are a collection of state-of-the-art machine learning models optimized for performance (latency, memory etc.) and ready to deploy on Qualcomm® devices.
https://aihub.qualcomm.com
BSD 3-Clause "New" or "Revised" License
438 stars 60 forks source link

[BUG] Can hub.submit_inference_job API use online models? #77

Closed songh11 closed 1 month ago

songh11 commented 2 months ago

Describe the bug Hello, I've uploaded a model and I want to use hub.submit_inference_job API to run my model. But the following error will be reported:

image

However, it is possible to use the CLI directly.

Expected behavior A clear and concise description of what you expected to happen.

Host configuration:

Additional context Add any other context about the problem here.

mestrona-3 commented 1 month ago

HI @songh11, please try using hub.get_model("id") instead of model=id. That should work for you!

songh11 commented 1 month ago

HI @songh11, please try using hub.get_model("id") instead of model=id. That should work for you!

Thanks for your reply, I will try it.