当前位置:网站首页>Install Anaconda + NVIDIA graphics card driver + pytorch under win10_ gpu
Install Anaconda + NVIDIA graphics card driver + pytorch under win10_ gpu
2022-06-26 08:46:00 【will be that man】
1. anaconda install
Go to Official website Can be installed .
After installation , We can modify it conda Source :
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
After modification , Check whether the modification was successful :
conda config --show channels
2. Driver.
1、 Uninstall the original graphics card driver


2、 Official website Installing a new graphics card driver

After installation , Right click on the desktop to see the graphics card driver ,

3. pytorch_gpu install
1、 open anaconda prompt
2、 Creating a virtual environment
conda create -n pytorch python=3.6
Enter the following command to check whether the creation is successful ,
conda info --envs
As shown in the figure , That is, the creation is successful .
3、 Activate the environment
activate pytorch
4、 Official website install pytorch

Because the server is abroad , So the download will be slow . We can download through Tsinghua source , This will greatly speed up the download , The command is modified as follows ,
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple torch==1.10.2+cu102 torchvision==0.11.3+cu102 torchaudio===0.10.2+cu102 -f https://download.pytorch.org/whl/cu102/torch_stable.html
After downloading , We can verify it ,
activate pytorch
python
import torch
print(torch.cuda.is_available())
print(torch.__version__)

边栏推荐
- Undefined symbols for architecture i386 is related to third-party compiled static libraries
- Leetcode22 summary of types of questions brushing in 2002 (XII) and collection search
- Relation extraction model -- spit model
- Is it safe to open an account in flush,
- Monitor iPad Keyboard Display and hide events
- Implementation of ffmpeg audio and video player
- Two ways to realize time format printing
- Partial summary of 45 lectures on geek time MySQL
- (2) Buzzer
- Recyclerview item gets the current position according to the X and Y coordinates
猜你喜欢

利用无线技术实现分散传感器信号远程集中控制

OpenCV Learning notes iii

Fabrication of modulation and demodulation circuit

Relationship extraction --tplinker

Principle of playing card image segmentation

关于极客时间 | MySQL实战45讲的部分总结

Remote centralized control of distributed sensor signals using wireless technology

Introduction of laser drive circuit

Embedded Software Engineer (6-15k) written examination interview experience sharing (fresh graduates)

Stream analysis of hevc learning
随机推荐
WBC learning notes (II): practical application of WBC control
Nebula diagram_ Object detection and measurement_ nanyangjx
The principle and function of focus
[unity mirror] use of networkteam
Discrete device ~ resistance capacitance
Playing card image segmentation
GHUnit: Unit Testing Objective-C for the iPhone
Cause analysis of serial communication overshoot and method of termination
Detailed explanation of self attention & transformer
Batch modify file name
OpenGL display mat image
XXL job configuration alarm email notification
Installation of jupyter
2020-10-17
STM32 project design: smart door lock PCB and source code based on stm32f1 (4 unlocking methods)
RF filter
How to use leetcode
golang json unsupported value: NaN 处理
keras_ Callback function summary
Summary of common instructions for arm assembly