MachineLearningNotebooks
MachineLearningNotebooks copied to clipboard
AzureML deployment issue - OpenCV dependencies
I am recieving the following error when trying to deploy a model with my entry script that uses opencv.
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
I understand this is because the docker image behind the scenes doesn't contain the following lines:
RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6 -y
How can add this to the docker image automatically created during deployment?
Thanks,
you can add it into dockerfile for the environment used for your deployment
Same issue here. I am using Azure ML Command with run_config = ScriptRunConfig. That makes a docker, but how to influence it so that it is correct?
Not fully running code yet, but seems error is not thrown when using headless opencv: opencv-python-headless>=4.1.1 #opencv-python>=4.1.1
any updates?
still have this issue now.