본문 바로가기
코딩/삽질

Auto-Pytorch 유닉스 환경에서 설치

by anjulia 2022. 8. 15.

윈도우10에서 설치를 하다가 noNamed 'resource' 에러가 발생해서 

유닉스 환경에서 다시 설치한다. 

 

 

 

새로운 가상환경을 만들어 준다 

 

 

 

 

Clone : auto-pytorch 

 

 

 

 

가상환경에 jupyter 설치

conda install jupyter

 

ModuleNotFoundError (jupyter_server) 발생 시 

 

pip install jupyter_server

 

 

 

위에서 clone한 디렉토리 내부에서 아래 명령어 실행 

 

jupyter lab

 

 

 

 

노트북 파일을 하나 만들고 

 

pip install autoPyTorch

후에 'Restart Kernel' 해준다. 

 

conda install swig

 

 

'failed with inital frozen solve.~' 에러가 발생한다. 

 

conda, pip 버전 업그레이드를 해주면 해결된다. 

 

터미널로 다시 돌아와서 

 

conda update -n base -c defaults conda

 

 

python setup.py install

 

 

다시 주피터 랩으로 들어가서 example 을 실행하면 정상적으로..(?) 잘 돌아간다.

 

 

 

참고 

 

https://github.com/automl/Auto-PyTorch

 

GitHub - automl/Auto-PyTorch: Automatic architecture search and hyperparameter optimization for PyTorch

Automatic architecture search and hyperparameter optimization for PyTorch - GitHub - automl/Auto-PyTorch: Automatic architecture search and hyperparameter optimization for PyTorch

github.com

https://automl.github.io/Auto-PyTorch/development/installation.html#installation

 

Installation — AutoPyTorch 0.2 documentation

Manual Installation # Following commands assume the user is in a cloned directory of Auto-Pytorch # We also need to initialize the automl_common repository as follows # You can find more information about this here: # https://github.com/automl/automl_commo

automl.github.io