Comments (4)
@dengdifan could you please have a short look whether it is something obvious we can fix quickly? Seems to be a sklearn problem and not a problem with APT.
from auto-pytorch.
Hi @ericleonardo
thanks for the issue, this is probably related to automl/auto-sklearn#1670
You need to downgrade the python version in Colab to 3.9
could you try the following commands? (originally from https://stackoverflow.com/a/68530310)
#**Add python version you wish** to list
!sudo apt-get update -y
!sudo apt-get install python3.9
from IPython.display import clear_output
clear_output()
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
# Choose one of the given alternatives:
!sudo update-alternatives --config python3
# !sudo update-alternatives --config python
# Check the result
!python3 --version
# Attention: Install pip (... needed!)
!sudo apt install python3-pip
!sudo apt-get install python3.9-distutils
!python3.9 -m pip install swig==3.0.12
!pip install autopytorch --verbose
and check if AutoPyTorch can be installed and executed there? (Unfortunately, I was always disconnected from the Colab server and cannot check if AutoPyTorch is successfully installed there)
from auto-pytorch.
Hi @dengdifan .. really Colab now keeps disconnecting after changing Python version.
Installation seems successful, but sadly after restart, it is not possible to keep connected.
Thank you
Successfully installed ConfigSpace-0.7.1 MarkupSafe-2.1.3 Pillow-10.0.0 PyWavelets-1.4.1 Shapely-2.0.1 absl-py-1.4.0 autopytorch-0.2.1 cachetools-5.3.1 catboost-1.2 certifi-2023.7.22 charset-normalizer-3.2.0 click-8.1.6 cloudpickle-2.2.1 cmake-3.27.1 contourpy-1.1.0 cycler-0.11.0 dask-2023.8.0 distributed-2023.8.0 emcee-3.1.4 filelock-3.12.2 flaky-3.7.0 fonttools-4.42.0 fsspec-2023.6.0 google-auth-2.22.0 google-auth-oauthlib-1.0.0 graphviz-0.20.1 grpcio-1.56.2 idna-3.4 imageio-2.31.1 imgaug-0.4.0 importlib-metadata-6.8.0 importlib-resources-6.0.1 jinja2-3.1.2 joblib-1.3.2 kiwisolver-1.4.4 lazy_loader-0.3 lightgbm-4.0.0 lit-16.0.6 locket-1.0.0 lockfile-0.12.2 markdown-3.4.4 matplotlib-3.7.2 more-itertools-10.1.0 mpmath-1.3.0 msgpack-1.0.5 networkx-3.1 numpy-1.25.2 nvidia-cublas-cu11-11.10.3.66 nvidia-cuda-cupti-cu11-11.7.101 nvidia-cuda-nvrtc-cu11-11.7.99 nvidia-cuda-runtime-cu11-11.7.99 nvidia-cudnn-cu11-8.5.0.96 nvidia-cufft-cu11-10.9.0.58 nvidia-curand-cu11-10.2.10.91 nvidia-cusolver-cu11-11.4.0.1 nvidia-cusparse-cu11-11.7.4.91 nvidia-nccl-cu11-2.14.3 nvidia-nvtx-cu11-11.7.91 oauthlib-3.2.2 opencv-python-4.8.0.76 packaging-23.1 pandas-2.0.3 partd-1.4.0 plotly-5.15.0 protobuf-4.24.0 psutil-5.9.5 pyasn1-0.5.0 pyasn1-modules-0.3.0 pynisher-0.6.4 pyparsing-3.0.9 pyrfr-0.8.3 python-dateutil-2.8.2 pytz-2023.3 pyyaml-6.0.1 regex-2023.8.8 requests-2.31.0 requests-oauthlib-1.3.1 rsa-4.9 scikit-image-0.21.0 scikit-learn-0.24.2 scipy-1.11.1 smac-1.4.0 sortedcontainers-2.4.0 sympy-1.12 tabulate-0.9.0 tblib-2.0.0 tenacity-8.2.2 tensorboard-2.14.0 tensorboard-data-server-0.7.1 threadpoolctl-3.2.0 tifffile-2023.7.18 toolz-0.12.0 torch-2.0.1 torchvision-0.15.2 tornado-6.3.2 triton-2.0.0 typing-extensions-4.7.1 tzdata-2023.3 urllib3-1.26.16 werkzeug-2.3.6 zict-3.0.0 zipp-3.16.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: The following packages were previously imported in this runtime:
[certifi,cycler,dateutil,kiwisolver,psutil]
You must restart the runtime in order to use newly installed versions.
from auto-pytorch.
I see the same or similar issue when installing on Kaggle... 🤔
seem it comes from sklearn
scikit-learn/scikit-learn#26910
from auto-pytorch.
Related Issues (20)
- [Time series Forecasting] Continuous Ranked Probablity Score (CRPS) loss for probablity network ouput type HOT 2
- Improve `include_components` documentation HOT 1
- Cannot run time-series example on GPU HOT 1
- Score function error on example code HOT 2
- Prediction on one sample produces error HOT 1
- The predict method of the base task expects to build a logger from a temporary folder
- [Feature request] time series classification HOT 2
- Question about how to maximize the search space HOT 1
- AutoPytorch selects only Dummy model. HOT 4
- Generate a leaderboard for each model?
- ImportError: cannot import name 'AutoNetClassification' from 'autoPyTorch' HOT 1
- I ran autopytrch 0.2 on multiple datasets every time it picks the Dummy model HOT 1
- Error in using command "from autoPyTorch.api.time_series_forecasting import TimeSeriesForecastingTask" HOT 2
- TypeError occurs when import TabularRegressionTask
- Image Classification: API not finished
- Errors on running example_tabular_classification.py HOT 1
- Errors installing autoPyTorch HOT 1
- [ERROR] [Client-AutoPyTorch:RefitLogger:1] Prediction for lgb failed with run state StatusType.TIMEOUT.
- Multi-GPU support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-pytorch.