cleanUrl: "mlenv"
description: "개인적으로 사용하는 머신러닝, 인공지능 모델 학습을 위한 conda 환경 설정 방법을 정리해둡니다."

Commands

# 기본 서버 설정, 
sudo apt update && sudo apt install build-essential -y && sudo apt install vim -y
# PyTorch부터 설치
conda install -c pytorch -c nvidia pytorch torchvision torchaudio pytorch-cuda=11.8
# 기본 ML 라이브러리 설치
conda install -c conda-forge -c anaconda numpy scipy scikit-learn wandb pytorch-lightning

어디서나 접근 가능하게 Cloud에 올려두고 바로바로 사용하기

curl <https://dohlee-bioinfo.sgp1.digitaloceanspaces.com/mlenv.sh> | sh