創建虛擬環境
conda create -n your_env_name python=3.5
激活
source activate your_env_name
torch 0.4.0 install
nvcc -V # 查看cuda版本 ignore
install 命令
conda install pytorch=0.4.0 -c pytorch
install torchvision
conda install torchvision
conda create -n your_env_name python=3.5
激活
source activate your_env_name
nvcc -V # 查看cuda版本 ignore
install 命令
conda install pytorch=0.4.0 -c pytorch
install torchvision
conda install torchvision
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c