当前位置:网站首页>Configuration of pytorch deep learning environment based on cuda10.0
Configuration of pytorch deep learning environment based on cuda10.0
2022-07-27 10:11:00 【Big data Da Wenxi】
be based on cuda10.0 Of pytorch Deep learning environment configuration ( Error reporting solution )
1. First look at yourself nvidia Version of the graphics card , Generally applicable cuda10.0:
1. open win+s Search for nvidia Control panel , Check system information

2. You can see own CUDA Version number of 496.76,

- In the installation CUDA Before , You need to check your computer GPU Driver version , because CUDA Version pair GPU The driver version has requirements , The correspondence is as follows :

Therefore, it fully meets the installation cuda10.0
2. install cuda10.0 and cudnn
Install Links :
CUDA and cuDNN install 10.0 edition
3. Create and install pytorch Environmental Science :
1、 Corresponding cuda10.0 Of pytorch Installation command :
Installed pytorch Version needs and cuda Versions, ,orch Official website
Looking for historical versions :

The installation command is as follows :
# CUDA 10.0
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch
2、 establish pytorch_gpu Environmental Science :
Get into Anaconda prompt The command interface is created with the name pytorch Virtual environment for :
# python The version number is 3.7:
conda create -n pytorch python=3.7
Use activate Activate the environment
conda activate pytorch

Enter... Above pytorch Installation command :

If there is an installation error , Show pytorch The website needs to be downloaded manually torch package :
Don't rush out of the command line interface !!!!!!, Download it torch Continue operation after package .
link : Baidu SkyDrive torch package
Extraction code :2022
Copy to Anaconda3 Under the designated path :C:\Users\X\anaconda3\pkgs

Then continue typing in the command line interface :
conda install --use-local pytorch-1.7.0-py3.7_cuda101_cudnn7_0.tar.bz2
You can install it successfully .
4. Verify that the environment is installed successfully , Can successfully call gpu:
stay Anaconda prompt Command interface input activate pytorch, Activate the environment ,
Input python

introduce torch
import torch
torch.cuda.is_available()
If it shows True Indicates successful installation .

边栏推荐
- Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量
- 2016 outlook
- Shell流程控制(重点)、if 判断、case 语句、let用法、for 循环中有for (( 初始值;循环控制条件;变量变化 ))和for 变量 in 值 1 值 2 值 3… 、while 循环
- 3D人脸重建:Joint 3D Face Reconstruction and Dense Alignment with position Map Regression Network
- 面试京东 T5,被按在地上摩擦,鬼知道我经历了什么?
- Towards the peak of life
- Shell综合应用案例,归档文件、发送消息
- 数据分析如何解决商业问题?这里有份超详细攻略
- 使用 LSM-Tree 思想基于.NET 6.0 C# 写个 KV 数据库(案例版)
- 去 OPPO 面试,被问麻了
猜你喜欢

Live countdown 3 days sofachannel 29 P2P based file and image acceleration system Dragonfly

Brush the title "sword finger offer" day04

Qt 学习(二) —— Qt Creator简单介绍

3D face reconstruction and dense alignment with position map progression network

Anchor Free检测器:CenterNet

Shell operator, $((expression)) "or" $[expression], expr method, condition judgment, test condition, [condition], comparison between two integers, judgment according to file permission, judgment accor

C # set different text watermarks for each page of word
[email protected], "/>Shell variables, system predefined variables $home, $pwd, $shell, $user, custom variables, special variables $n, $, $*, [email protected],

WGAN、WGAN-GP、BigGAN

StyleGAN论文笔记+修改代码尝试3D点云生成
随机推荐
Exercises --- quick arrangement, merging, floating point number dichotomy
食品安全 | 无糖是真的没有糖吗?这些真相要知道
Summary of binary tree exercises
Reason for pilot importerror: cannot import name 'pilot_ Version 'from' PIL ', how to install pilot < 7.0.0
Interview JD T5, was pressed on the ground friction, who knows what I experienced?
Intermediate and advanced test questions ": what is the implementation principle of mvcc?
Final examination paper of engineering materials
RobotFramework+Eclispe环境安装篇
Brush the title "sword finger offer" day03
Understand chisel language. 27. Chisel advanced finite state machine (I) -- basic finite state machine (Moore machine)
After one year, the paper was finally accepted by the international summit
直播倒计时 3 天|SOFAChannel#29 基于 P2P 的文件和镜像加速系统 Dragonfly
Anchor free detector: centernet
使用 LSM-Tree 思想基于.NET 6.0 C# 写个 KV 数据库(案例版)
Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量
Interview Essentials: shrimp skin server 15 consecutive questions
QT learning (II) -- a brief introduction to QT Creator
Understand chisel language. 23. Chisel sequential circuit (III) -- detailed explanation of chisel shift register
Text processing tool in shell, cut [option parameter] filename Description: the default separator is the built-in variable of tab, awk [option parameter] '/pattern1/{action1}filename and awk
Food safety | is sugar free really sugar free? These truths need to be known