Skip to content
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

ImportError: cannot import name 'AutoNetClassification' from 'autoPyTorch' #497

Open
WritingFairyTales opened this issue May 15, 2023 · 1 comment

Comments

@WritingFairyTales
Copy link

After successfully installing autoPyTorch using pip, I can run "import autoPyTorch" and "from autoPyTorch. datasets. resampling_strategy import CrossValTypes" normally, but running "from autoPyTorch import AutoNetClassification as ANC" will report an error---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/var/folders/0q/6zbl180550ld7sczslc_ 902m0000gn/T/ipykernel_ 8260/408493215.py in
----> 1 from autoPyTorch import AutoNetRegression
ImportError: cannot import name 'AutoNetRegression' from 'autoPyTorch' (/opt/anaconda3/lib/python3.9/site-packages/autoPyTorch/init.py)”。
from autoPyTorch.api.tabular_ Classification import TabularClassificationTask error "-->8 from ConfigSpace. hyperparameters import (CategoricalHyperparameter,
9 OrdinalHyperparameter)
ten
ConfigSpace/hyperparameters.pyx in init ConfigSpace.hyperparameters()
ImportError: cannot import name duplicates_ everseen”

@palmerss
Copy link

Bumping, because I'm stuck on this issue as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants