-
Notifications
You must be signed in to change notification settings - Fork 1.2k
AutoMLStep Does Not Support Constant-Valued problem_type #3908
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@mbbourgo can you please provide additional logs/error tracelog for further debug? What exact error is recieved in this case? |
@mufaddal-rohawala /opt/conda/lib/python3.7/site-packages/sagemaker/workflow/pipeline.py in upsert(self, role_arn, description, tags, parallelism_config) /opt/conda/lib/python3.7/site-packages/sagemaker/workflow/pipeline.py in upsert(self, role_arn, description, tags, parallelism_config) /opt/conda/lib/python3.7/site-packages/sagemaker/workflow/pipeline.py in create(self, role_arn, description, tags, parallelism_config) /opt/conda/lib/python3.7/site-packages/botocore/client.py in _api_call(self, *args, **kwargs) /opt/conda/lib/python3.7/site-packages/botocore/client.py in _make_api_call(self, operation_name, api_params) ClientError: An error occurred (ValidationException) when calling the CreatePipeline operation: Unable to parse pipeline definition. Expecting start of Json Object.` |
Hi, what's the pipeline definition? |
@nmadan Here it is: |
If we look at the pipeline definition, the json struct of
https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLJobObjective.html |
should be an easy fix here: sagemaker-python-sdk/src/sagemaker/session.py Line 2242 in 7fc0857
|
@mbbourgo When you create the autoML instance, for the
and retry? |
I don't think this is a bug from Pipeline. The above solution might unblock @mbbourgo right away. However, I did find the shape of In Here is the suggested fix for AutoML team.
|
Describe the bug
When using AutoMLStep, specifying the problem type results in an error upon pipeline upsert.
To reproduce
Run the attached file, automlstep-test.py.txt, as a Python script.
Expected behavior
The named SageMaker Pipeline is updated..
Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.
System information
A description of your system. Please provide:
Additional context
Add any other context about the problem here.
automlstep-test.py.txt
The text was updated successfully, but these errors were encountered: