pycharm创建torch-gpu虚拟环境

打开pycharm-》terminal


打开python 输入conda create -n py37 python=3.7

python激活 conda activate py37
transformers安装 pip install transformers

torch-gpu安装 

pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113


环境配置结束

你可能感兴趣的:(pytorch,基本神经网络,transform,pycharm,python,pytorch)