question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't import AutoNetRegression or AutoNetClassification

See original GitHub issue

Hi,

I’ve just installed autoPyTorch getting this msg in the end: Finished processing dependencies for autoPyTorch==0.1.0 When trying to import AutoNetRegression or AutoNetClassification I get >>> from autoPyTorch import AutoNetClassification Traceback (most recent call last): File "<stdin>", line 1, in <module>ImportError: cannot import name 'AutoNetClassification' from 'autoPyTorch' (/.../Auto-PyTorch/autoPyTorch/__init__.py)

>>> from autoPyTorch import AutoNetRegression
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'AutoNetRegression' from 'autoPyTorch' (/.../Auto-PyTorch/autoPyTorch/__init__.py)

Although importing autoPyTorch is fine:

>>> import autoPyTorch
>>> autoPyTorch.__version__
'0.1.0'

I’ve run an ablation study myself and was curious to see how auto-ML would perform in the same dataset. regards,

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ravinkohlicommented, Jun 14, 2021

Hey it seems like you installed the development branch. The development branch has a completely different API. You can find the documentation for the branch here. Specifically to your task, we currently have a PR #235 that fixes common issues with using tabular regression. Also, the current development branch does not support images. So, if your data is images, I suggest you to install the master branch with version (0.0.2)

0reactions
Mr-ZJHcommented, Mar 21, 2022

Is function autoPyTorch.api.tabular_regression.TabularRegressionTask used instead of function AutoNetRegression in v0.1.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

autoPyTorch - PyPI
So far, Auto-PyTorch supports featurized data (classification, regression) and image data (classification). Installation. Clone repository $ cd ...
Read more >
AutoML: An Introduction Using Auto-Sklearn and Auto-PyTorch
This tutorial will consist of minimal demonstrations of classification using standard SciKit-Learn, Auto-Sklearn, and Auto-PyTorch classifiers.
Read more >
AutoML: An Introduction Using Auto ... - Exxact Corporation
This tutorial will consist of minimal demonstrations of classification using standard SciKit-Learn, Auto-Sklearn, and Auto-PyTorch classifiers.
Read more >
How to Use AutoKeras for Classification and Regression
In this tutorial, you will discover how to use AutoKeras to find good neural network models for classification and regression tasks.
Read more >
Towards Automatically-Tuned Neural ... - Machine Learning Lab
Net, we have chosen to implement Auto-Net within Auto-sklearn (Feurer et al., 2015a) by adding a new classification (and regression) component; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found