aws / aws/amazon-sagemaker-examples

batch_transform_pca_dbscan_movie_clusters.ipynb failed CI

Open
#2,297 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/sagemaker_batch_transform/introduction_to_batch_transform/batch_transform_pca_dbscan_movie_clusters.ipynb

Error:

---------------------------------------------------------------------------
Exception encountered at "In [34]":
---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
in
----> 1 get_ipython().run_cell_magic('sh', '', '\n# The name of our algorithm\nalgorithm_name=dbscan\n\n#set -e # stop if anything fails\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)\nregion=${region:-us-west-2}\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_name}" > /dev/null\nfi\n\n# Ge

Contributor guide

Open the contributing guide

Research direction

Open sagemaker_batch_transform/introduction_to_batch_transform/batch_transform_pca_dbscan_movie_clusters.ipynb and inspect the failing In [34] cell, especially the AWS CLI and ECR commands shown in the traceback. Reproduce the notebook CI failure and verify that the notebook completes successfully without the CalledProcessError.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook, shell
Domain
cloud, machine-learning, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.