Please install deepsparse[yolo] to use this pathway
kopyl opened this issue · 1 comments
kopyl commented
I installed deepsparse like this:
pip install deepsparse[server,yolo,onnxruntime]
then launched python. Here is my code:
from deepsparse import Pipeline
model_stub="model.onnx"
yolo_pipeline = Pipeline.create(
task="yolo",
model_path=model_stub,
)
And got this error.
Why? How can I fix it?
kopyl commented
I was able to make it work by removing opencv-python
and installing opencv-python-headless