f-lab-edu / virtual-try-on

4 stars 2 forks source link

pytorch, torchvision version downgrading #4

Open seuno2 opened 10 months ago

seuno2 commented 10 months ago

image

이전 버전의 경우 whl파일 링크를 사용하여 다운로드 가능

pip3 install http://download.pytorch.org/whl/cu90/torch-1.1.0-cp36-cp36m-win_amd64.whl
pip3 install http://download.pytorch.org/whl/cu90/torchvision-0.3.0-cp36-cp36m-win_amd64.whl
conda install cudatoolkit=9.0 -c pytorch

[참고] https://swjung-ispl.tistory.com/57 https://stackoverflow.com/questions/65595279/how-can-i-install-pytorch-version-1-1-on-windows-x64

seuno2 commented 10 months ago
conda create -n tryon python=3.6
source activate tryon
pip3 install http://download.pytorch.org/whl/cu90/torch-1.1.0-cp36-cp36m-win_amd64.whl
pip3 install http://download.pytorch.org/whl/cu90/torchvision-0.3.0-cp36-cp36m-win_amd64.whl
conda install cudatoolkit=9.0 -c pytorch
conda install cupy
conda install -c conda-forge opencv
f-lab-sage commented 10 months ago

동작하는 버전으로 일단 진행해도 될 듯 (Dockerfile 만들 때 어차피 특정 버전으로 진행하므로)

seuno2 commented 9 months ago

conda python3.6 가상환경 설치 방법(맥북 osx 64)

## create empty environment
conda create -n py37

## activate
conda activate py37

## use x86_64 architecture channel(s)
conda config --env --set subdir osx-64

## install python, numpy, etc. (add more packages here...)
conda install python=3.6

https://stackoverflow.com/questions/70205633/cannot-install-python-3-7-on-osx-arm64