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
data: Information about the training data. Please refer to the ``fit()`` method of the associated estimator, as this can take any of the following forms:
37
37
38
38
* (str) - The S3 location where training data is saved.
39
-
* (dict[str, str] or dict[str, sagemaker.session.s3_input]) - If using multiple
39
+
* (dict[str, str] or dict[str, sagemaker.inputs.TrainingInput]) - If using multiple
40
40
channels for training data, you can specify a dict mapping channel names to
41
-
strings or :func:`~sagemaker.session.s3_input` objects.
42
-
* (sagemaker.session.s3_input) - Channel configuration for S3 data sources that can
41
+
strings or :func:`~sagemaker.inputs.TrainingInput` objects.
42
+
* (sagemaker.inputs.TrainingInput) - Channel configuration for S3 data sources that can
43
43
provide additional information about the training dataset. See
44
-
:func:`sagemaker.session.s3_input` for full details.
44
+
:func:`sagemaker.inputs.TrainingInput` for full details.
45
45
* (sagemaker.amazon.amazon_estimator.RecordSet) - A collection of
46
46
Amazon :class:`Record` objects serialized and stored in S3.
47
47
For use with an estimator for an Amazon algorithm.
state_id (str): State name whose length **must be** less than or equal to 128 unicode characters. State names **must be** unique within the scope of the whole state machine.
199
199
model (sagemaker.model.Model): The SageMaker model to use in the ModelStep. If :py:class:`TrainingStep` was used to train the model and saving the model is the next step in the workflow, the output of :py:func:`TrainingStep.get_expected_model()` can be passed here.
200
200
model_name (str or Placeholder, optional): Specify a model name, this is required for creating the model. We recommend to use :py:class:`~stepfunctions.inputs.ExecutionInput` placeholder collection to pass the value dynamically in each execution.
201
-
instance_type (str, optional): The EC2 instance type to deploy this Model to. For example, 'ml.p2.xlarge'. This parameter is typically required when the estimator used is not an `Amazon built-in algorithm <https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html>`_.
201
+
instance_type (str, optional): The EC2 instance type to deploy this Model to. For example, 'ml.p2.xlarge'.
202
202
tags (list[dict], optional): `List to tags <https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html>`_ to associate with the resource.
data: Information about the training data. Please refer to the ``fit()`` method of the associated estimator in the tuner, as this can take any of the following forms:
323
323
324
324
* (str) - The S3 location where training data is saved.
325
-
* (dict[str, str] or dict[str, sagemaker.session.s3_input]) - If using multiple
325
+
* (dict[str, str] or dict[str, sagemaker.inputs.TrainingInput]) - If using multiple
326
326
channels for training data, you can specify a dict mapping channel names to
327
-
strings or :func:`~sagemaker.session.s3_input` objects.
328
-
* (sagemaker.session.s3_input) - Channel configuration for S3 data sources that can
327
+
strings or :func:`~sagemaker.inputs.TrainingInput` objects.
328
+
* (sagemaker.inputs.TrainingInput) - Channel configuration for S3 data sources that can
329
329
provide additional information about the training dataset. See
330
-
:func:`sagemaker.session.s3_input` for full details.
330
+
:func:`sagemaker.inputs.TrainingInput` for full details.
331
331
* (sagemaker.amazon.amazon_estimator.RecordSet) - A collection of
332
332
Amazon :class:`Record` objects serialized and stored in S3.
333
333
For use with an estimator for an Amazon algorithm.
inputs: Information about the training data. Please refer to the `fit()` method of the associated estimator, as this can take any of the following forms:
49
49
50
50
* (str) - The S3 location where training data is saved.
51
-
* (dict[str, str] or dict[str, `sagemaker.session.s3_input`]) - If using multiple channels for training data, you can specify a dict mapping channel names to strings or `sagemaker.session.s3_input` objects.
52
-
* (`sagemaker.session.s3_input`) - Channel configuration for S3 data sources that can provide additional information about the training dataset. See `sagemaker.session.s3_input` for full details.
51
+
* (dict[str, str] or dict[str, `sagemaker.inputs.TrainingInput`]) - If using multiple channels for training data, you can specify a dict mapping channel names to strings or `sagemaker.inputs.TrainingInput` objects.
52
+
* (`sagemaker.inputs.TrainingInput`) - Channel configuration for S3 data sources that can provide additional information about the training dataset. See `sagemaker.inputs.TrainingInput` for full details.
53
53
* (`sagemaker.amazon.amazon_estimator.RecordSet`) - A collection of Amazon `Record` objects serialized and stored in S3. For use with an estimator for an Amazon algorithm.
54
54
* (list[`sagemaker.amazon.amazon_estimator.RecordSet`]) - A list of `sagemaker.amazon.amazon_estimator.RecordSet` objects, where each instance is a different channel of training data.
55
55
s3_bucket (str): S3 bucket under which the output artifacts from the training job will be stored. The parent path used is built using the format: ``s3://{s3_bucket}/{pipeline_name}/models/{job_name}/``. In this format, `pipeline_name` refers to the keyword argument provided for TrainingPipeline. If a `pipeline_name` argument was not provided, one is auto-generated by the pipeline as `training-pipeline-<timestamp>`. Also, in the format, `job_name` refers to the job name provided when calling the :meth:`TrainingPipeline.run()` method.
inputs: Information about the training data. Please refer to the `fit()` method of the associated estimator, as this can take any of the following forms:
44
44
45
45
* (str) - The S3 location where training data is saved.
46
-
* (dict[str, str] or dict[str, `sagemaker.session.s3_input`]) - If using multiple channels for training data, you can specify a dict mapping channel names to strings or `sagemaker.session.s3_input` objects.
47
-
* (`sagemaker.session.s3_input`) - Channel configuration for S3 data sources that can provide additional information about the training dataset. See `sagemaker.session.s3_input` for full details.
46
+
* (dict[str, str] or dict[str, `sagemaker.inputs.TrainingInput`]) - If using multiple channels for training data, you can specify a dict mapping channel names to strings or `sagemaker.inputs.TrainingInput` objects.
47
+
* (`sagemaker.inputs.TrainingInput`) - Channel configuration for S3 data sources that can provide additional information about the training dataset. See `sagemaker.inputs.TrainingInput` for full details.
48
48
* (`sagemaker.amazon.amazon_estimator.RecordSet`) - A collection of Amazon `Record` objects serialized and stored in S3. For use with an estimator for an Amazon algorithm.
49
49
* (list[`sagemaker.amazon.amazon_estimator.RecordSet`]) - A list of `sagemaker.amazon.amazon_estimator.RecordSet` objects, where each instance is a different channel of training data.
50
50
s3_bucket (str): S3 bucket under which the output artifacts from the training job will be stored. The parent path used is built using the format: ``s3://{s3_bucket}/{pipeline_name}/models/{job_name}/``. In this format, `pipeline_name` refers to the keyword argument provided for TrainingPipeline. If a `pipeline_name` argument was not provided, one is auto-generated by the pipeline as `training-pipeline-<timestamp>`. Also, in the format, `job_name` refers to the job name provided when calling the :meth:`TrainingPipeline.run()` method.
0 commit comments