aws / aws/amazon-sagemaker-examples
using-image-classification-models.ipynb failed CI
- 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/using-open-source-model-packages/pytorch-ic-model/using-image-classification-models.ipynb
Error:
---------------------------------------------------------------------------
Exception encountered at "In [7]":
---------------------------------------------------------------------------
ClientError Traceback (most recent call last)
in
5
6 #Deploy the model
----> 7 predictor = model.deploy(1, real_time_inference_instance_type, endpoint_name=model_name)
/opt/conda/lib/python3.6/site-packages/sagemaker/model.py in deploy(self, initial_instance_count, instance_type, serializer, deserializer, accele
[...]
ClientError: An error occurred (ValidationException) when calling the DescribeModelPackage operation: 1 validation error detected: Value '' at 'modelPackageName' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:[a-z\-]*\/)?([a-zA-Z0-9]([a-zA-Z0-9-]){0,62})(?
Contributor guide
Research direction
Open aws_marketplace/using-open-source-model-packages/pytorch-ic-model/using-image-classification-models.ipynb and inspect In [7], where model.deploy raises the ValidationException. Check the model package ARN used for the deployment and its correspondence to the AWS region. Done means the notebook's deployment cell completes without the modelPackageName validation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook
- Domain
- cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100