Skip to content

Commit b4d1db7

Browse files
nadiayaknakad
authored andcommitted
doc: update links to TF notebook examples to link to script mode examples. (#1268)
Co-authored-by: Karim Nakad <[email protected]>
1 parent dbec613 commit b4d1db7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/using_tf.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ is good practice.
9191
Note that SageMaker doesn't support argparse actions.
9292
For example, if you want to use a boolean hyperparameter, specify ``type`` as ``bool`` in your script and provide an explicit ``True`` or ``False`` value for this hyperparameter when you create the TensorFlow estimator.
9393

94-
For a complete example of a TensorFlow training script, see `mnist.py <https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/tensorflow_distributed_mnist/mnist.py>`__.
94+
For a complete example of a TensorFlow training script, see `mnist.py <https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/tensorflow_script_mode_training_and_serving/mnist.py>`__.
9595

9696

9797
Adapting your local TensorFlow script
@@ -360,7 +360,7 @@ Training with MKL-DNN disabled
360360
SageMaker TensorFlow CPU images use TensorFlow built with Intel® MKL-DNN optimization.
361361

362362
In certain cases you might be able to get a better performance by disabling this optimization
363-
(`for example when using small models <https://github.com/awslabs/amazon-sagemaker-examples/blob/d88d1c19861fb7733941969f5a68821d9da2982e/sagemaker-python-sdk/tensorflow_iris_dnn_classifier_using_estimators/iris_dnn_classifier.py#L7-L9>`_)
363+
(for example when using small models).
364364

365365
You can disable MKL-DNN optimization for TensorFlow ``1.8.0`` and above by setting two following environment variables:
366366

tests/scripts/run-notebook-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ echo "set SAGEMAKER_ROLE_ARN=$SAGEMAKER_ROLE_ARN"
1919
--region us-west-2 \
2020
--lifecycle-config-name install-python-sdk \
2121
--notebook-instance-role-arn $SAGEMAKER_ROLE_ARN \
22-
./amazon-sagemaker-examples/sagemaker-python-sdk/tensorflow_distributed_mnist/tensorflow_batch_transform_mnist.ipynb
22+
./amazon-sagemaker-examples/sagemaker-python-sdk/tensorflow_script_mode_training_and_serving/tensorflow_script_mode_training_and_serving.ipynb

0 commit comments

Comments
 (0)