当前位置:网站首页>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 .

边栏推荐
- 直播倒计时 3 天|SOFAChannel#29 基于 P2P 的文件和镜像加速系统 Dragonfly
- Failure of CUDA installation nsight visual studio edition failed
- 3D人脸重建:Joint 3D Face Reconstruction and Dense Alignment with position Map Regression Network
- Food safety | the more you eat junk food, the more you want to eat it? Please keep this common food calorimeter
- Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number
- Snowflake vs. Databricks谁更胜一筹?2022年最新战报
- At the end of the year, I'll teach you how to get high performance!
- Summary of binary tree exercises
- 食品安全 | 垃圾食品越吃越想吃?这份常见食品热量表请收好
- Robotframework+eclispe environment installation
猜你喜欢

C # set different text watermarks for each page of word

Vs2019 Community Edition Download tutorial (detailed)

面试必备:虾皮服务端15连问

Shell read read console input, use of read

Failure of CUDA installation nsight visual studio edition failed

S交换机堆叠方案配置指南

Food safety | is sugar free really sugar free? These truths need to be known

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

Interview JD T5, was pressed on the ground friction, who knows what I experienced?

Shell综合应用案例,归档文件、发送消息
随机推荐
pytorch的安装(非常详细)
Easy to understand! Graphic go synergy principle and Practice
Reason for pilot importerror: cannot import name 'pilot_ Version 'from' PIL ', how to install pilot < 7.0.0
Brush the title "sword finger offer" day03
NFT system development - Tutorial
Anchor free detector: centernet
Shell function, system function, basename [string / pathname] [suffix] can be understood as taking the file name in the path, dirname file absolute path, and user-defined function
二叉树习题总结
S交换机堆叠方案配置指南
Shell integrated application cases, archiving files, sending messages
Sentinel ten thousand word tutorial | book delivery at the end of the text
WGAN、WGAN-GP、BigGAN
线代004
LeetCode.814. 二叉树剪枝____DFS
LeetCode.1260. 二维网格迁移____原地暴力 / 降维+循环数组直接定位
活体检测综述
Understand chisel language. 27. Chisel advanced finite state machine (I) -- basic finite state machine (Moore machine)
VS2019+CUDA11.1新建项目里没有CUDA选项
中高级试题」:MVCC 实现原理是什么?
Concurrent thread state transition