aws-step-functions-data-science-sdk-python icon indicating copy to clipboard operation
aws-step-functions-data-science-sdk-python copied to clipboard

Feature Request: Cannot pass output path and ECR Image ARN from Execution Input

Open mochacafe opened this issue 5 years ago • 2 comments
trafficstars

While creating the Sagemaker training step I have fix the output path location and ECR Image for all the executions. Is there a way we can pass the model output path from the execution input?

mochacafe avatar Jul 24 '20 18:07 mochacafe

Hi @mochacafe, could you provide a code snippet to describe what you want to achieve?

shunjd avatar Aug 07 '20 23:08 shunjd

Hi @shunjd , when we want create a SM training step using Training Step we need to create 'model_estimator' using 'sagemaker.estimator.Estimator' with training ECR image name/ARN , instance_type, output_path.

Is there a way to decide the training ECR image name/ARN and output_path based during Step function initiation and add them as parameters to execution input?

Eg: execution_input ={date:<>,training_ECR_image:<>,training_ouput_path<>}

mochacafe avatar Oct 07 '20 17:10 mochacafe