Category : machine-learning

What is the key difference between training, testing and deploying machine learning algorithms in SageMaker’s notebooks vs SageMaker’s containers? I do not completely understand the different use cases for both alternatives, when it is appropriate to use one over the other. At a first glance, structuring a whole ML project using Docker containers seem more ..

Read more

I am new to docker. I am trying to create a docker image for my ml model which uses flask. I have correctly set up a virtual environment and downloaded all the required packages in it. Using opencv-python was giving the error so I remove it installed opencv-contrib-python-headless but doesn’t work at all. Also it ..

Read more

I have an application with the following folder structure: -Code -Done -Error -Input -Model -Output -Dockerfile The code runs in the "Code" folder and generates output and places it in "Output" folder. FROM python:3 WORKDIR ./ ADD ./Code/* /Code/ ADD ./Model/* /Model/ ADD ./Input/* /Input/ ADD ./Output/* /Output/ ADD ./Done/* /Done/ ADD ./Error/* /Error/ RUN ..

Read more

I am using MLflow in ML pipeline to deploy the models on sagemaker. The project was deployed on ECS-EC2 container. AssignPublicIp has to be enabled to use ECS Exec for accessing container. When enabled is used for assignPublicIP with EC2 launch type getting below error. An error occurred (TargetNotConnectedException) when calling the Execute Command operation: ..

Read more