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
doc: Fix typo with SM_MODEL_DIR, missing quotes (#1287)
The documentation incorrectly specifies SM_CHANNEL_TRAIN
instead of SM_MODEL_DIR for the directory where models are stored.
There is also example code missing quotation marks.
Copy file name to clipboardExpand all lines: doc/using_tf.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ The training script is very similar to a training script you might run outside o
58
58
59
59
For the exhaustive list of available environment variables, see the `SageMaker Containers documentation <https://github.com/aws/sagemaker-containers#list-of-provided-environment-variables-by-sagemaker-containers>`_.
60
60
61
-
A typical training script loads data from the input channels, configures training with hyperparameters, trains a model, and saves a model to ``SM_CHANNEL_TRAIN`` so that it can be deployed for inference later.
61
+
A typical training script loads data from the input channels, configures training with hyperparameters, trains a model, and saves a model to ``SM_MODEL_DIR`` so that it can be deployed for inference later.
62
62
Hyperparameters are passed to your script as arguments and can be retrieved with an ``argparse.ArgumentParser`` instance.
63
63
For example, a training script might start with the following:
64
64
@@ -544,7 +544,7 @@ For example:
544
544
545
545
batch_output ='s3://{}/{}/results'.format(bucket, prefix) # The location to store the results
To use a model trained outside of SageMaker, you can package the model as a SageMaker model, and call the ``transformer`` method of the SageMaker model.
550
550
@@ -557,7 +557,7 @@ For example:
557
557
558
558
batch_output ='s3://{}/{}/results'.format(bucket, prefix) # The location to store the results
For information about how to package a model as a SageMaker model, see :ref:`overview:BYO Model`.
563
563
When you call the ``tranformer`` method, you specify the type and number of instances to use for the batch transform job, and the location where the results are stored in S3.
0 commit comments