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.
151151 mxnet_predictor = mxnet_estimator.deploy(initial_instance_count = 1 , instance_type = ' ml.p2.xlarge' )
152152
153153 # Serializes data and makes a prediction request to the SageMaker Endpoint
154- response = predictor .predict(data)
154+ response = mxnet_predictor .predict(data)
155155
156156 # Tears down the SageMaker Endpoint
157157 mxnet_estimator.delete_endpoint()
@@ -185,7 +185,7 @@ instance type.
185185 mxnet_predictor = mxnet_estimator.deploy(initial_instance_count = 1 , instance_type = ' local' )
186186
187187 # Serializes data and makes a prediction request to the local endpoint
188- response = predictor .predict(data)
188+ response = mxnet_predictor .predict(data)
189189
190190 # Tears down the endpoint container
191191 mxnet_estimator.delete_endpoint()
You can’t perform that action at this time.
0 commit comments