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
BYO was missing an implementation of _from_training_job(). This adds
that as well as an integration test to verify that.
Also addressed the PR comments and added information to the README.
Copy file name to clipboardExpand all lines: README.rst
+22-3
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ SageMaker Python SDK provides several high-level abstractions for working with A
97
97
- **Estimators**: Encapsulate training on SageMaker. Can be ``fit()`` to run training, then the resulting model ``deploy()`` ed to a SageMaker Endpoint.
98
98
- **Models**: Encapsulate built ML models. Can be ``deploy()`` ed to a SageMaker Endpoint.
99
99
- **Predictors**: Provide real-time inference and transformation using Python data-types against a SageMaker Endpoint.
100
-
- **Session**: Provides a collection of convience methods for working with SageMaker resources.
100
+
- **Session**: Provides a collection of convenience methods for working with SageMaker resources.
101
101
102
102
Estimator and Model implementations for MXNet, TensorFlow, and Amazon ML algorithms are included. There's also an Estimator that runs SageMaker compatible custom Docker containers, allowing you to run your own ML algorithms via SageMaker Python SDK.
103
103
@@ -1149,7 +1149,8 @@ Optional arguments
1149
1149
''''''''''''''''''
1150
1150
1151
1151
-``wait (bool)``: Defaults to True, whether to block and wait for the
1152
-
training script to complete before returning.
1152
+
training script to complete before returning. If set to False, it will return immediately, and can later be
1153
+
`attach`ed to.
1153
1154
-``logs (bool)``: Defaults to True, whether to show logs produced by training
1154
1155
job in the Python session. Only meaningful when wait isTrue.
1155
1156
-``run_tensorboard_locally (bool)``: Defaults to False. Executes TensorBoard in a different
@@ -1178,9 +1179,25 @@ the ``TensorFlow`` estimator parameter ``training_steps`` is finished or when th
1178
1179
job execution time reaches the ``TensorFlow`` estimator parameter ``train_max_run``.
1179
1180
1180
1181
When the training job finishes, a `TensorFlow serving <https://www.tensorflow.org/serving/serving_basic>`_
1181
-
with the result of the training is generated and saved to the S3 location define by
1182
+
with the result of the training is generated and saved to the S3 location defined by
1182
1183
the ``TensorFlow`` estimator parameter ``output_path``.
1183
1184
1185
+
1186
+
If the ``wait=False`` flag is passed to ``fit``, then it will return immediately. The training job will continue running
1187
+
asynchronously. At a later time, a Tensorflow Estimator can be obtained by attaching to the existing training job. If
1188
+
the training job isnot finished it will start showing the standard output of training and wait until it completes.
1189
+
After attaching, the estimator can be deployed as usual.
0 commit comments