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: src/sagemaker/mxnet/README.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -599,7 +599,7 @@ The code executed from your main guard needs to:
599
599
3. Save the model
600
600
601
601
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.
603
603
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>`__.
604
604
605
605
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
626
626
args, _ = parser.parse_known_args()
627
627
628
628
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:
0 commit comments