Skip to content

Train S3 location from ExecutionInput #39

@sumeshmr

Description

@sumeshmr

This is an excellent tool, great Work!. I was looking forward to future releases.

I was trying the below example:
https://github.com/awslabs/amazon-sagemaker-examples/blob/master/step-functions-data-science-sdk/automate_model_retraining_workflow/automate_model_retraining_workflow.ipynb

I have a requirement to rerun the same workflow each time with a different s3 location.

training_step = steps.TrainingStep( 'Model Training', estimator=xgb, data={ 'train': s3_input(train_data, content_type='csv'), 'validation': s3_input(validation_data, content_type='csv') }, job_name=execution_input['TrainingJobName'], wait_for_completion=True )

In this example, the train and validation s3 locations are fixed. I want to change this on each workflow execution. Is there a way to input this from ExecutionInput or any other means?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions