Skip to content

Commit 880a238

Browse files
committed
tweak wording
1 parent 9695cd5 commit 880a238

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/mxnet/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ The code executed from your main guard needs to:
599599
3. Save the model
600600

601601
Hyperparameters will be passed as command-line arguments to your training script.
602-
In addition, the locations for finding input data and saving the model and output data will be provided as environment variables rather than as arguments to a function.
602+
In addition, the container will define the locations of input data and where to save the model artifacts and output data as environment variables rather than passing that information as arguments to the ``train`` function.
603603
You can find the full list of available environment variables in the `SageMaker Containers README <https://github.com/aws/sagemaker-containers#list-of-provided-environment-variables-by-sagemaker-containers>`__.
604604

605605
We recommend using `an argument parser <https://docs.python.org/3.5/howto/argparse.html>`__ for this part.
@@ -626,7 +626,7 @@ Using the ``argparse`` library as an example, the code would look something like
626626
args, _ = parser.parse_known_args()
627627
628628
The code in the main guard should also take care of training and saving the model.
629-
This can be as simple as just calling the methods used with the previous training script format:
629+
This can be as simple as just calling the ``train`` and ``save`` methods used in the previous training script format:
630630

631631
.. code:: python
632632

0 commit comments

Comments
 (0)