Coding, Filming, and Nothing
article thumbnail

의료영상 처리, 컴퓨터 비전을 위한 모델을 학습시키고 다룰 때를 위해 구성 해놓은 가상환경 설정 명령어 모음입니다.

주로 medical image segmentation, U-Net based models, ViT models, Albumentation 등을 다루는데 사용되었습니다. 

 


 

최초 'conda' 환경 세팅 명령어

conda upgrade conda —all -y

conda update -n base conda -y 

conda update —all

conda update -n base -c defaults conda -y

python -m pip install —upgrade pip

 

 

'Vision' 환경 세팅 명령어

conda create -n Vision -y

conda update conda --all -y 

conda install numpy

conda install pandas

conda install scipy

conda install matplotlib

conda install -c conda-forge scikit-learn

nvidia-smi

conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia 
# https://pytorch.org/get-started/locally/

conda install -c conda-forge easydict

conda install -c conda-forge opencv

conda install -c conda-forge imgaug -y

conda install -c conda-forge albumentations -y

conda install -c conda-forge tqdm -y 

conda install -c conda-forge umap-learn -y

conda install -c conda-forge monai
# https://docs.monai.io/en/stable/installation.html#validating-the-install

conda install -c anaconda h5py

# for jupyter, ipynb
conda install -n Vision ipykernel --update-deps --force-reinstall

 

profile

Coding, Filming, and Nothing

@_안쑤

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!