Skip to content

Commit

Permalink
fix working-with-tfrecords.ipynb (aws#3542)
Browse files Browse the repository at this point in the history
  • Loading branch information
atqy authored Aug 16, 2022
1 parent 9ce4ec2 commit f355543
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"import sagemaker\n",
"import tensorflow as tf\n",
"\n",
"bucket = \"<your_bucket_name>\"\n",
"bucket = sagemaker.Session().default_bucket()\n",
"training_prefix = \"training\"\n",
"batch_input_prefix = \"batch_input\"\n",
"batch_output_prefix = \"batch_output\"\n",
Expand Down Expand Up @@ -292,7 +292,7 @@
"tf_serving_model = Model(\n",
" model_data=estimator.model_data,\n",
" role=sagemaker.get_execution_role(),\n",
" image=estimator.image_name,\n",
" image_uri=estimator.image_uri,\n",
" framework_version=estimator.framework_version,\n",
" sagemaker_session=estimator.sagemaker_session,\n",
")\n",
Expand Down

0 comments on commit f355543

Please sign in to comment.