Skip to content

Commit cf45973

Browse files
committed
Fixed: Seq2seq misnamed sagemaker client
1 parent 7ef15d9 commit cf45973

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)