当前位置:网站首页>深度学习------pytorch-gpu环境搭建
深度学习------pytorch-gpu环境搭建
2022-08-04 11:21:00 【小飞龙程序员】
本人笔记本1650显卡,pytorch(gpu)环境搭建

cuda10.2gpu安装命令:pip install torch1.10.1+cu102 torchvision0.11.2+cu102 torchaudio0.12.1 -f https://download.pytorch.org/whl/torch_stable.html
但是,torch和torchvision版本必须匹配
pip install torch1.10.1+cu102 torchvision==0.11.2+cu102 -f https://download.pytorch.org/whl/torch_stable.html
验证cuda与gpu是否连接成功?
import torch
DEVICE = ("cuda" 边栏推荐
- mysqldump远程备份数据库
- ORA-00054 资源正忙
- WPF 截图控件之画笔(八)「仿微信」
- 【LeetCode】653. 两数之和 IV - 输入 BST
- Camunda overall architecture and related concepts
- vector中函数emplace_back的实现原理
- 北京大学,新迎3位副校长!其中一人为中科院院士!
- 上帝空间——全球首个基于Web3.0的艺术协议创意平台,拓宽多元艺术融合边界
- The sword refers to the Great Wall Cannon?Official spy photos of Changan's new pickup
- Graphical Hands-on Tutorial--ESP32 OTA Over-the-Air Upgrade (VSCODE+IDF)
猜你喜欢
随机推荐
linux下数据库初始化密码
POJ2367Genealogical tree题解
Win11怎么重装显卡驱动程序?Win11显卡驱动怎么卸载重装?
单调栈一些题目练习
Xilinx VIVADO 中 DDR3(Naive)的使用(1)创建 IP 核
Leetcode刷题——二叉搜索树相关题目(98. 验证二叉搜索树、235. 二叉搜索树的最近公共祖先、1038. 从二叉搜索树到更大和树、538. 把二叉搜索树转换为累加树)
字节技术官亲码算法面试进阶神技太香了
【虹科案例】基于3D相机组装家具
What is the principle of thermal imaging temperature measurement?Do you know?
子查询
网管交换机与非网管交换机如何选择?
*SEO*
数据库对象-视图;存储过程
Leetcode Brush Questions - Path Sum
【目标检测】yolov3特征提取网络------Darknet53网络及pytorch实现
winform 在Datatable插入一笔数据
Leetcode brush - structure binary tree (105. Once upon a time sequence and the sequence structure binary tree traversal sequence, 106. From the sequence with the sequence structure binary tree travers
秒云成功入选《2022爱分析 · 银行数字化厂商全景报告》,智能运维能力获认可
北京大学,新迎3位副校长!其中一人为中科院院士!
MySql数据库入门的基本操作









