aws / aws/amazon-sagemaker-examples

[Bug Report]Issue related to Pipeline, unable to create the pipeline

Open
#3,467 4 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/main/end_to_end/nlp_mlops_company_sentiment/nlp_company_earnings_analysis_pipeline.ipynb

**Describe the bug**
Unable to create and start the pipeline, when runing `pipeline.upsert(role_arn=role)` , reported `KeyError: 'HFSECFinBertDeployModel'` , then I tried the following code to Examine the JSON pipeline definition to ensure that it's well-formed:
```
import json
json.loads(pipeline.definition())
```
the result appears same key error.

pls help.

Contributor guide

Open the contributing guide

Research direction

Open end_to_end/nlp_mlops_company_sentiment/nlp_company_earnings_analysis_pipeline.ipynb and reproduce the failure at pipeline.upsert(role_arn=role). Inspect pipeline.definition() and the reported HFSECFinBertDeployModel KeyError; done means the notebook can create and start the pipeline without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, jupyter-notebook
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.