You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,6 +192,8 @@ Here is an end to end example of how to use a SageMaker Estimator:
192
192
# Tears down the SageMaker endpoint and endpoint configuration
193
193
mxnet_predictor.delete_endpoint()
194
194
195
+
# Deletes the SageMaker model
196
+
mxnet_predictor.delete_model()
195
197
196
198
The example above will eventually delete both the SageMaker endpoint and endpoint configuration through `delete_endpoint()`. If you want to keep your SageMaker endpoint configuration, use the value False for the `delete_endpoint_config` parameter, as shown below.
197
199
@@ -230,6 +232,9 @@ For more `information <https://boto3.amazonaws.com/v1/documentation/api/latest/r
230
232
# Tears down the SageMaker endpoint and endpoint configuration
231
233
mxnet_predictor.delete_endpoint()
232
234
235
+
# Deletes the SageMaker model
236
+
mxnet_predictor.delete_model()
237
+
233
238
Training Metrics
234
239
~~~~~~~~~~~~~~~~
235
240
The SageMaker Python SDK allows you to specify a name and a regular expression for metrics you want to track for training.
@@ -284,6 +289,9 @@ We can take the example in `Using Estimators <#using-estimators>`__ , and use e
284
289
# Tears down the endpoint container and deletes the corresponding endpoint configuration
285
290
mxnet_predictor.delete_endpoint()
286
291
292
+
# Deletes the model
293
+
mxnet_predictor.delete_model()
294
+
287
295
288
296
If you have an existing model and want to deploy it locally, don't specify a sagemaker_session argument to the ``MXNetModel`` constructor.
289
297
The correct session is generated when you call ``model.deploy()``.
@@ -307,6 +315,9 @@ Here is an end-to-end example:
307
315
# Tear down the endpoint container and delete the corresponding endpoint configuration
308
316
predictor.delete_endpoint()
309
317
318
+
# Deletes the model
319
+
predictor.delete_model()
320
+
310
321
311
322
If you don't want to deploy your model locally, you can also choose to perform a Local Batch Transform Job. This is
312
323
useful if you want to test your container before creating a Sagemaker Batch Transform Job. Note that the performance
0 commit comments