Skip to content

Commit 32bb55b

Browse files
authored
Don't call estimator.fit(training_data) twice. (aws#1142)
1 parent 7a83cc5 commit 32bb55b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sagemaker-python-sdk/tensorflow_script_mode_using_shell_commands/tensorflow_script_mode_using_shell_commands.ipynb

+2-6
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,7 @@
299299
"cell_type": "markdown",
300300
"metadata": {},
301301
"source": [
302-
"To train in SageMaker:\n",
303-
"- change the estimator argument **train_instance_type** to any SageMaker ML Instance Type available for training.\n",
304-
"- set the **training** channel to a S3 location."
302+
"To train in SageMaker: change the estimator argument **train_instance_type** to any SageMaker ML Instance Type available for training.\n"
305303
]
306304
},
307305
{
@@ -317,9 +315,7 @@
317315
" role=sagemaker.get_execution_role(),\n",
318316
" framework_version='1.14',\n",
319317
" py_version='py3',\n",
320-
" script_mode=True)\n",
321-
"\n",
322-
"estimator.fit(training_data)"
318+
" script_mode=True)\n"
323319
]
324320
},
325321
{

0 commit comments

Comments
 (0)