Skip to content

Commit 914b1e7

Browse files
authored
Merge pull request aws#203 from awslabs/arpin_seq2seq_describe
Fixed: Seq2seq misnamed sagemaker client
2 parents 7ef15d9 + cf45973 commit 914b1e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

introduction_to_amazon_algorithms/seq2seq_translation_en-de/SageMaker-Seq2Seq-Translation-English-German.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@
353353
"print(status)\n",
354354
"# if the job failed, determine why\n",
355355
"if status == 'Failed':\n",
356-
" message = sage.describe_training_job(TrainingJobName=job_name)['FailureReason']\n",
356+
" message = sagemaker_client.describe_training_job(TrainingJobName=job_name)['FailureReason']\n",
357357
" print('Training failed with the following error: {}'.format(message))\n",
358358
" raise Exception('Training job failed')"
359359
]

0 commit comments

Comments
 (0)