-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Pending informationcomponent: pipelinesRelates to the SageMaker Pipeline PlatformRelates to the SageMaker Pipeline Platformtype: question
Description
It looks it's not possible to parameterize s3_analysis_config_output_path using Sagemaker Pipeline parameters:
model_explainability_data_config = DataConfig(
s3_data_input_path=step_process.properties.ProcessingOutputConfig.Outputs[
"shap"
].S3Output.S3Uri,
s3_output_path=ParameterString(name="s3_output_path", default_value="s3://helloworld/"),
s3_analysis_config_output_path=ParameterString(name="s3_analysis_config_output_path", default_value="s3://helloworld/analasys_config"),
label='target',
dataset_type="text/csv",
)Exception: s3_analysis_config_output_path cannot be of type ExecutionVariable/Expression/Parameter/Properties
Nor it is possible to leave s3_analysis_config_output_path as default value i.e. None:
model_explainability_data_config = DataConfig(
s3_data_input_path=step_process.properties.ProcessingOutputConfig.Outputs[
"shap"
].S3Output.S3Uri,
s3_output_path=ParameterString(name="s3_output_path", default_value="s3://helloworld/"),
label='target',
dataset_type="text/csv",
)Exception: `s3_output_path` cannot be of type ExecutionVariable/Expression/Parameter/Properties if `s3_analysis_config_output_path` is none or empty
The documenation states:
If this field is None, then the
s3_output_pathwill be used to store theanalysis_configoutput.:
Sagemaker API version: sagemaker>=2.158.0
Originally posted by @maslick in #2698 (comment)
l3ku
Metadata
Metadata
Assignees
Labels
Pending informationcomponent: pipelinesRelates to the SageMaker Pipeline PlatformRelates to the SageMaker Pipeline Platformtype: question