File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ Here is an end to end example of how to use a SageMaker Estimator.
151
151
mxnet_predictor = mxnet_estimator.deploy(initial_instance_count = 1 , instance_type = ' ml.p2.xlarge' )
152
152
153
153
# Serializes data and makes a prediction request to the SageMaker Endpoint
154
- response = predictor .predict(data)
154
+ response = mxnet_predictor .predict(data)
155
155
156
156
# Tears down the SageMaker Endpoint
157
157
mxnet_estimator.delete_endpoint()
@@ -185,7 +185,7 @@ instance type.
185
185
mxnet_predictor = mxnet_estimator.deploy(initial_instance_count = 1 , instance_type = ' local' )
186
186
187
187
# Serializes data and makes a prediction request to the local endpoint
188
- response = predictor .predict(data)
188
+ response = mxnet_predictor .predict(data)
189
189
190
190
# Tears down the endpoint container
191
191
mxnet_estimator.delete_endpoint()
You can’t perform that action at this time.
0 commit comments