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
- ``hyperparameters`` Hyperparameters that will be used for training.
610
-
Will be made accessible as a dict[str, str] to the training code on
611
-
SageMaker. For convenience, accepts other types besides str, but
612
-
str() will be called on keys and values to convert them before
613
-
training.
614
-
- ``py_version`` Python version you want to use for executing your
615
-
model training code.
616
-
- ``train_volume_size`` Size in GB of the EBS volume to use for storing
617
-
input data during training. Must be large enough to store training
618
-
data if input_mode='File' is used (which is the default).
619
-
- ``train_max_run`` Timeout in seconds for training, after which Amazon
620
-
SageMaker terminates the job regardless of its current status.
621
-
- ``input_mode`` The input mode that the algorithm supports. Valid
622
-
modes: 'File' - Amazon SageMaker copies the training dataset from the
623
-
s3 location to a directory in the Docker container. 'Pipe' - Amazon
624
-
SageMaker streams data directly from s3 to the container via a Unix
625
-
named pipe.
626
-
- ``output_path`` s3 location where you want the training result (model
627
-
artifacts and optional output files) saved. If not specified, results
628
-
are stored to a default bucket. If the bucket with the specific name
629
-
does not exist, the estimator creates the bucket during the fit()
630
-
method execution.
631
-
- ``output_kms_key`` Optional KMS key ID to optionally encrypt training
632
-
output with.
633
-
- ``job_name`` Name to assign for the training job that the fit()
634
-
method launches. If not specified, the estimator generates a default
635
-
job name, based on the training image name and current timestamp
636
-
- ``image_name`` An alternative docker image to use for training and
637
-
serving. If specified, the estimator will use this image for training and
638
-
hosting, instead of selecting the appropriate SageMaker official image based on
639
-
framework_version and py_version. Refer to: `SageMaker Chainer Docker Containers
640
-
<#sagemaker-chainer-docker-containers>`__ for details on what the Official images support
641
-
and where to find the source code to build your custom image.
533
+
*************************
534
+
SageMaker Chainer Classes
535
+
*************************
536
+
537
+
For information about the different Chainer-related classes in the SageMaker Python SDK, see https://sagemaker.readthedocs.io/en/stable/frameworks/chainer/sagemaker.chainer.html.
642
538
643
539
***********************************
644
540
SageMaker Chainer Docker containers
@@ -689,6 +585,6 @@ specify major and minor version, which will cause your training script to be run
689
585
version of that minor version.
690
586
691
587
Alternatively, you can build your own image by following the instructions in the SageMaker Chainer containers
692
-
repository, and passing ``image_name`` to the Chainer Estimator constructor.
588
+
repository, and passing ``image_uri`` to the Chainer Estimator constructor.
693
589
694
590
You can visit the SageMaker Chainer containers repository at https://github.com/aws/sagemaker-chainer-container
- ``hyperparameters`` Hyperparameters that will be used for training.
721
-
Will be made accessible as a dict[str, str] to the training code on
722
-
SageMaker. For convenience, accepts other types besides strings, but
723
-
``str`` will be called on keys and values to convert them before
724
-
training.
725
-
- ``py_version`` Python version you want to use for executing your
726
-
model training code.
727
-
- ``framework_version`` PyTorch version you want to use for executing
728
-
your model training code. You can find the list of supported versions
729
-
in `SageMaker PyTorch Docker Containers <https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/pytorch#sagemaker-pytorch-docker-containers>`_.
730
-
- ``train_volume_size`` Size in GB of the EBS volume to use for storing
731
-
input data during training. Must be large enough to store training
732
-
data if input_mode='File' is used (which is the default).
733
-
- ``train_max_run`` Timeout in seconds for training, after which Amazon
734
-
SageMaker terminates the job regardless of its current status.
735
-
- ``input_mode`` The input mode that the algorithm supports. Valid
736
-
modes: 'File' - Amazon SageMaker copies the training dataset from the
737
-
S3 location to a directory in the Docker container. 'Pipe' - Amazon
738
-
SageMaker streams data directly from S3 to the container via a Unix
739
-
named pipe.
740
-
- ``output_path`` S3 location where you want the training result (model
741
-
artifacts and optional output files) saved. If not specified, results
742
-
are stored to a default bucket. If the bucket with the specific name
743
-
does not exist, the estimator creates the bucket during the ``fit``
744
-
method execution.
745
-
- ``output_kms_key`` Optional KMS key ID to optionally encrypt training
746
-
output with.
747
-
- ``job_name`` Name to assign for the training job that the ``fit```
748
-
method launches. If not specified, the estimator generates a default
749
-
job name, based on the training image name and current timestamp
750
-
- ``image_name`` An alternative docker image to use for training and
751
-
serving. If specified, the estimator will use this image for training and
752
-
hosting, instead of selecting the appropriate SageMaker official image based on
753
-
framework_version and py_version. Refer to: `SageMaker PyTorch Docker Containers
754
-
<https://github.com/aws/sagemaker-python-sdk/tree/master/src/sagemaker/pytorch#sagemaker-pytorch-docker-containers>`_ for details on what the Official images support
755
-
and where to find the source code to build your custom image.
670
+
*************************
671
+
SageMaker PyTorch Classes
672
+
*************************
673
+
674
+
For information about the different PyTorch-related classes in the SageMaker Python SDK, see https://sagemaker.readthedocs.io/en/stable/frameworks/pytorch/sagemaker.pytorch.html.
0 commit comments