美文网首页
conda pytorch-geomentric使用笔记

conda pytorch-geomentric使用笔记

作者: 风果 | 来源:发表于2019-03-17 18:05 被阅读0次

查看torch版本

cuda和cudnn下载

https://developer.nvidia.com/cuda-toolkit-archive

https://developer.nvidia.com/rdp/cudnn-archive

查看pytorch使用的cuda版本号

python -c "import torch; print(torch.version.cuda)"

export CUDA_HOME=/home/feng/.local/conda/

加个国内的镜像源,直接上命令:

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

升级conda

conda update -n base -c defaults conda

conda查看已安装的软件

conda list --show-channel-urls

conda安装pytorch

conda install -c anaconda tensorflow-gpu

PIP

pip install --no-cache-dir torch-geometric

相关文章

网友评论

      本文标题:conda pytorch-geomentric使用笔记

      本文链接:https://www.haomeiwen.com/subject/avnumqtx.html