Skip to content
This repository was archived by the owner on Aug 26, 2020. It is now read-only.

Commit 2747862

Browse files
authored
doc: update list of frameworks that use this repository (#271)
1 parent 8ece680 commit 2747862

File tree

2 files changed

+9
-14
lines changed

2 files changed

+9
-14
lines changed

README.rst

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
WARNING: This package has been deprecated. Please use the `SageMaker Training Toolkit <https://github.com/aws/sagemaker-training-toolkit>`__ for model training and the `SageMaker Inference Toolkit <https://github.com/aws/sagemaker-inference-toolkit>`__ for model serving.
2-
================================================================================================================================================================================================================================================================================
2+
===============================================================================================================================================================================================================================================================================
33

44
.. _header-n957:
55

@@ -13,12 +13,7 @@ SageMaker Containers
1313
SageMaker Containers gives you tools to create SageMaker-compatible Docker containers, and has additional tools for letting you create Frameworks
1414
(SageMaker-compatible Docker containers that can run arbitrary Python or shell scripts).
1515

16-
Currently, this library is used by the following containers: `TensorFlow
17-
Script Mode <https://github.com/aws/sagemaker-tensorflow-container/tree/script-mode>`__,
18-
`MXNet <https://github.com/aws/sagemaker-mxnet-container>`__,
19-
`PyTorch <https://github.com/aws/sagemaker-pytorch-container>`__,
20-
`Chainer <https://github.com/aws/sagemaker-chainer-container>`__, and
21-
`Scikit-learn <https://github.com/aws/sagemaker-scikit-learn-container>`__.
16+
Currently, this library is used by the `SageMaker Scikit-learn containers <https://github.com/aws/sagemaker-scikit-learn-container>`__.
2217

2318
.. contents::
2419

@@ -161,7 +156,7 @@ example, in a Python script:
161156
.. code:: python
162157
163158
import argparse
164-
159+
165160
if __name__ == '__main__':
166161
parser = argparse.ArgumentParser()
167162
@@ -190,7 +185,7 @@ includes the channels **training** and **testing**:
190185
191186
estimator = PyTorch(entry_point='train.py', ...)
192187
193-
estimator.fit({'training': 's3://bucket/path/to/training/data',
188+
estimator.fit({'training': 's3://bucket/path/to/training/data',
194189
'testing': 's3://bucket/path/to/testing/data'})
195190
196191
The environment variable ``SM_CHANNEL_{channel_name}`` provides the
@@ -411,7 +406,7 @@ The number of gpus available in the current container. Usage example:
411406
.. code:: python
412407
413408
import os
414-
409+
415410
# using it in argparse
416411
parser.add_argument('num_gpus', type=int, default=os.environ['SM_NUM_GPUS'])
417412
@@ -520,11 +515,11 @@ directory where standard SageMaker configuration files are located, e.g.
520515
``/opt/ml/input/config/``.
521516

522517
SageMaker training creates the following files in this folder when
523-
training starts:
518+
training starts:
524519

525-
- ``hyperparameters.json``: Amazon SageMaker makes the hyperparameters in a CreateTrainingJob request available in this file.
520+
- ``hyperparameters.json``: Amazon SageMaker makes the hyperparameters in a CreateTrainingJob request available in this file.
526521

527-
- ``inputdataconfig.json``: You specify data channel information in the InputDataConfig parameter in a CreateTrainingJob request. Amazon SageMaker makes this information available in this file.
522+
- ``inputdataconfig.json``: You specify data channel information in the InputDataConfig parameter in a CreateTrainingJob request. Amazon SageMaker makes this information available in this file.
528523

529524
- ``resourceconfig.json``: name of the current host and all host containers in the training.
530525

test/functional/test_intermediate_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
def _timestamp():
32-
return time.strftime("%Y-%m-%d-%H-%M-%S".format(time.gmtime(time.time())))
32+
return time.strftime("%Y-%m-%d-%H-%M-%S")
3333

3434

3535
def test_intermediate_upload():

0 commit comments

Comments
 (0)