aws / aws/amazon-sagemaker-examples

Bring_Your_Own-Creating_Algorithm_and_Model_Package.ipynb failed CI

Open
#2,278 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11k
Forks
7k
Avg merge
8h 29m
Merged PRs (30d)
8

Description

Link to the notebook:
https://github.com/aws/amazon-sagemaker-examples/blob/master/aws_marketplace/creating_marketplace_products/Bring_Your_Own-Creating_Algorithm_and_Model_Package.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [2]":
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
in
----> 1 get_ipython().run_cell_magic('sh', '', '\n# The name of our algorithm\nalgorithm_name=decision-trees-sample\n\ncd container\n\nchmod +x decision_trees/train\nchmod +x decision_trees/serve\n\naccount=$(aws sts get-caller-identity --query Account --output text)\n\n# Get the region defined in the current configuration (default to us-west-2 if none defined)\nregion=$(aws configure get region)\n\nfullname="${account}.dkr.ecr.${region}.amazonaws.com/${algorithm_name}:latest"\n\n# If the repository doesn\'t exist in ECR, create it.\n\naws ecr describe-repositories --repository-names "${algorithm_name}" > /dev/null 2>&1\n\nif [ $? -ne 0 ]\nthen\n aws ecr create-repository --repository-name "${algorithm_na

Contributor guide

Open the contributing guide

Research direction

Open the linked Bring_Your_Own-Creating_Algorithm_and_Model_Package.ipynb and inspect cell In [2], especially the shell commands using AWS CLI, ECR, and the container directory. Reproduce the CI failure if the required AWS environment is available, then verify that the notebook completes successfully in CI.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook
Domain
ci-cd, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.