Closed kopyl closed 1 year ago
I installed deepsparse like this: pip install deepsparse[server,yolo,onnxruntime]
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?
I was able to make it work by removing opencv-python and installing opencv-python-headless
opencv-python
opencv-python-headless
I installed deepsparse like this:
pip install deepsparse[server,yolo,onnxruntime]
then launched python. Here is my code:
And got this error. Why? How can I fix it?