From 589f2ff013e84acf41d5a568f0c4021842d2d70a Mon Sep 17 00:00:00 2001 From: Chuyang Deng Date: Wed, 2 Oct 2019 15:58:15 -0700 Subject: [PATCH] fix: update tfs documentation for requirements.txt --- src/sagemaker/tensorflow/deploying_tensorflow_serving.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/sagemaker/tensorflow/deploying_tensorflow_serving.rst b/src/sagemaker/tensorflow/deploying_tensorflow_serving.rst index 1d194843d1..3e6c6ff4df 100644 --- a/src/sagemaker/tensorflow/deploying_tensorflow_serving.rst +++ b/src/sagemaker/tensorflow/deploying_tensorflow_serving.rst @@ -424,15 +424,14 @@ in the following code: You can also bring in external dependencies to help with your data processing. There are 2 ways to do this: -1. If you included ``requirements.txt`` in your ``source_dir`` or in - your dependencies, the container installs the Python dependencies at runtime using ``pip install -r``: +1. If you included ``requirements.txt`` in your ``source_dir``, the container installs the Python dependencies at runtime using ``pip install -r``: .. code:: from sagemaker.tensorflow.serving import Model model = Model(entry_point='inference.py', - dependencies=['requirements.txt'], + source_dir='source/directory', model_data='s3://mybucket/model.tar.gz', role='MySageMakerRole')