aws-samples / aws-samples/automl-pipeline-with-autogluon-sagemaker-lambda

cannot import name 'TabularPrediction'

Open
#2 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
11
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hi,
in first, thank you for providing of library, it's realy useful.
When is executing training job in Sagemaker (code-free-automl), there is import error:

Traceback (most recent call last):
File "autogluon-tab-with-test.py", line 13, in
from autogluon import TabularPrediction as task
ImportError: cannot import name 'TabularPrediction'

I guess that's why upgrade of new release of autogluon.
How can I resolve this?
Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure from autogluon-tab-with-test.py, beginning at line 13 and the `from autogluon import TabularPrediction as task` import. Check the repository's AutoGluon and SageMaker setup against the reported training job, then document or validate a compatible resolution; done means the import succeeds and the code-free AutoML training job runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.