Category : amazon-sagemaker

I am following this tutorial right here: https://aws.amazon.com/blogs/machine-learning/training-and-deploying-models-using-tensorflow-2-with-the-object-detection-api-on-amazon-sagemaker/ and I am trying to build and push tfrecord-processing docker image by executing following command: !sh ./docker/build_and_push.sh $image_name Everything seems to go fine until very end: Step 6/7 : COPY code /opt/program —> 68bc931b454c Step 7/7 : ENTRYPOINT ["python3", "/opt/program/prepare_data.py"] —> Running in 68fa1cac7cae Removing intermediate container ..

Read more

We are currently working on creating a Multi-Arm Bandit model for sign up optimization using the Build Your Own workflow that can be found here (basically substituting the model for our own): https://github.com/aws/amazon-sagemaker-examples/tree/master/advanced_functionality/scikit_bring_your_own Our project directory is set up as: Project Directory The issue is that I added some code including the dataclasses library that ..

Read more

In Amazon SageMaker, I’m trying to deploy a custom created Docker container with a Scikit-Learn model, but deploying keeps giving errors. These are my steps: On my local machine created a script (script.py) and splitted training and test data. The script contains a main section, accepts parameters ‘output-train-dir’, ‘model-dir’, ‘train’ and ‘test’, and contains the ..

Read more

I have same issue with Dockerfile while train model in sagemaker at that time training failed with following error. AlgorithmError: CannotStartContainerError. Please make sure the container can be run with ‘docker run train’. Please refer SageMaker documentation for details. It is possible that the Dockerfile’s entrypoint is not properly defined, or missing permissions. My Dockerimages ..

Read more

I created a custom docker container to run Catboost on Amazon Sagemaker, followed this demo (https://github.com/aws-samples/sagemaker-byo-catboost-container-demo/blob/master/Catboost_container_for_SageMaker.ipynb). I now want to do hyperparameter tuning with this custom container, but this is not a built-in or pre-built Sagemaker container, so I am not sure if I could or how to create hyperparameter tuning job on Sagemaker with ..

Read more