Skip to content

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

Description

@WritingFairyTales

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”

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions