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

边栏推荐
- 学习Typescript(一)
- 直播倒计时 3 天|SOFAChannel#29 基于 P2P 的文件和镜像加速系统 Dragonfly
- Open3d library installation, CONDA common instructions, importing open3d times this error solving environment: failed with initial frozen solve Retrying w
- Shell变量、系统预定义变量$HOME、$PWD、$SHELL、$USER、自定义变量、特殊变量$n、$#、$*、[email protected]、$?、env看所有的全局变量值、set看所有变量
- I grabbed a ticket and thought I found the system bug of 12306
- Failure of CUDA installation nsight visual studio edition failed
- 找工作 4 个月, 面试 15 家,拿到 3 个 offer
- 去 OPPO 面试,被问麻了
- Provincial Emergency Management Department: Guangzhou can strive to promote the experience of emergency safety education for children
- S switch stacking scheme configuration guide
猜你喜欢

Practice and exploration of overseas site Seata of ant group

LeetCode.814. 二叉树剪枝____DFS

pytorch的安装(非常详细)

Snowflake vs. databricks who is better? The latest war report in 2022

Explain knative cloud function framework in simple terms!

When I went to oppo for an interview, I got numb
![Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number](/img/31/ed0d8c1a5327059f2de7493bec1c6c.png)
Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number

Ant高级-task
![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](/img/3d/d7276d2010f1d77a3bd572cc66eced.png)
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

Why do microservices have to have API gateways?
随机推荐
活体检测综述
Cannot start after installing MySQL 5.7.27 in CentOS 7? (Language bash)
Flash memory usage and stm32subemx installation tutorial [day 3]
达梦 PARTGROUPDEF是自定义的对象吗?
Leetcode.565. array nesting____ Violent dfs- > pruning dfs- > in situ modification
Food safety | the kitchen board environment is very important. Do you know these use details?
Is Damon partgroupdef a custom object?
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
Leetcode.814. binary tree pruning____ DFS
Open3d library installation, CONDA common instructions, importing open3d times this error solving environment: failed with initial frozen solve Retrying w
C # set different text watermarks for each page of word
Engineering survey simulation volume a
吃透Chisel语言.22.Chisel时序电路(二)——Chisel计数器(Counter)详解:计数器、定时器和脉宽调制
Shell integrated application cases, archiving files, sending messages
WGAN、WGAN-GP、BigGAN
使用 LSM-Tree 思想基于.NET 6.0 C# 写个 KV 数据库(案例版)
S switch stacking scheme configuration guide
Why is redis so fast? Redis threading model and redis multithreading
Huawei switch dual uplink networking smart Link Configuration Guide
Nacos configuration center dynamically refreshes the data source