Skip to content

Commit d483cac

Browse files
pccornelmetrizable
andauthored
Fixed malformed TensorFlow estimator declaration. (#1628)
* Fixed malformed TensorFlow estimator declaration. * Removed extraneous output. Co-authored-by: Eric Johnson <[email protected]>
1 parent a688ce3 commit d483cac

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

aws_sagemaker_studio/frameworks/tensorflow_mnist/tensorflow_mnist.ipynb

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,10 @@
137137
"\n",
138138
"estimator = TensorFlow(entry_point=training_script,\n",
139139
" role=role,\n",
140-
" train_instance_count=1,\n",
141-
" train_instance_type='ml.p2.xlarge',\n",
140+
" instance_count=1,\n",
141+
" instance_type='ml.p2.xlarge',\n",
142142
" framework_version=tf_version,\n",
143-
" py_version='py3',\n",
144-
" distributions={'parameter_server': {'enabled': True}})"
143+
" py_version='py3')"
145144
]
146145
},
147146
{
@@ -259,14 +258,21 @@
259258
"source": [
260259
"predictor.delete_endpoint()"
261260
]
261+
},
262+
{
263+
"cell_type": "code",
264+
"execution_count": null,
265+
"metadata": {},
266+
"outputs": [],
267+
"source": []
262268
}
263269
],
264270
"metadata": {
265271
"instance_type": "ml.t3.medium",
266272
"kernelspec": {
267273
"display_name": "Python 3 (Data Science)",
268274
"language": "python",
269-
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-2:429704687514:image/datascience-1.0"
275+
"name": "python3__SAGEMAKER_INTERNAL__arn:aws:sagemaker:us-east-1:081325390199:image/datascience-1.0"
270276
},
271277
"language_info": {
272278
"codemirror_mode": {

0 commit comments

Comments
 (0)