随笔分类 -  环境配置

摘要:## 首先卸载原有torch `pip uninstall torch` ## 安装新的torch版本 `pip install torch==1.6.0` #这样Didn't work!!! 1.先在PyTorch官网查到自己电脑对应的torch版本 网址: https://pytorch.org 阅读全文
posted @ 2023-07-25 09:20 梅雨明夏 阅读(1382) 评论(0) 推荐(0)
摘要:检查显卡驱动 在终端输入nvidia-smi 可以查看到当前的显卡驱动版本,如果无法查看,则说明尚未安装nvidia驱动,在软件和更新中点击附加驱动,选择对应版本的驱动即可自动下载。 右上角也会出现cuda版本,个人理解并不是已经安装了那个版本的cuda,而是支持安装的最高cuda版本 可以通过nv 阅读全文
posted @ 2022-12-28 16:00 梅雨明夏 阅读(1708) 评论(1) 推荐(0)
摘要:anaconda安装及用conda命令行搭建pytorch环境与使用###在Ubuntu系统安装anaconda: 1.下载后安装:sudo sh Anaconda3xxxxx-Linux-x86_64.sh Do you accept the license terms? [yes|no] yes Anaconda3 will now be installed i 阅读全文
posted @ 2021-12-22 15:13 梅雨明夏 阅读(1231) 评论(0) 推荐(0)