Skip to content

Commit 5eced81

Browse files
committed
TensorFlow pipemode example
1 parent 64bd1fe commit 5eced81

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

sagemaker-python-sdk/tensorflow_pipemode_example/tensorflow_pipemode_example.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@
136136
" output_path=model_artifacts_location,\n",
137137
" code_location=custom_code_upload_location,\n",
138138
" train_instance_count=1,\n",
139-
" # TODO: Remove once sagemaker-tensorflow-extensions is installed in our images\n",
140-
" image_name='637548144040.dkr.ecr.us-west-2.amazonaws.com/tf-pipemode:1.7.0-cpu-py2-fwmode',\n",
141-
" training_steps=10000,\n",
139+
" training_steps=1000,\n",
142140
" evaluation_steps=100,\n",
143141
" train_instance_type='ml.c4.xlarge')"
144142
]
@@ -162,8 +160,8 @@
162160
"# use the region-specific sample data bucket\n",
163161
"region = boto3.Session().region_name\n",
164162
"\n",
165-
"train_data = 's3://sagemaker-sample-data-{}/tensorflow/pipemode/train'.format(region)\n",
166-
"eval_data = 's3://sagemaker-sample-data-{}/tensorflow/pipemode/eval'.format(region)\n",
163+
"train_data = 's3://sagemaker-sample-data-{}/tensorflow/pipe-mode/train'.format(region)\n",
164+
"eval_data = 's3://sagemaker-sample-data-{}/tensorflow/pipe-mode/eval'.format(region)\n",
167165
"\n",
168166
"tensorflow.fit({'train':train_data, 'eval':eval_data})\n"
169167
]

0 commit comments

Comments
 (0)