当前位置:网站首页>Install pytoch+anaconda+cuda+cudnn
Install pytoch+anaconda+cuda+cudnn
2022-07-24 05:27:00 【Xiaoxin is very new】
1.anaconda(5.2.0 edition )
Tsinghua mirror ( Domestic first choice ): https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
Official website image :https://repo.continuum.io/archive/
After installed ,windows+r key entry cmd

Set up scikit-image=0.14.0


Check the updated package


2.Cuda+cudnn install
Check the computer graphics card configuration , Right click to enter nvidia Control panel , Check the corresponding version of cuda, Enter Google search cuda9.1, Select the download page to download

Google search cudnn, Select the corresponding cudnn Download the corresponding version on the download page cudnn, And copy the downloaded four folders to the following path ( Don't skip , Do not replace )

windows+r key entry cmd, Input nvcc -V See if it works correctly
3. Create a file called Pytorch Environment


Input :conda activate PyTorch Activate the environment ,
Go to Pytorch Download the required version on the official website , The installation package of the following version is downloaded here ( Key Ctrl+F You can search in the web )

Then install by , Because of the network, several downloads failed , Re Download , You can enter tor Then press Tab Key auto lock


The two packages in the display environment are successfully installed
4. install opencv-python==3.4.2


Installation successful
5.pycharm To configure
Select... In the configuration environment Python.exe

6. Verification test


end
PS: Tsinghua mirror ( Domestic first choice ):
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
Official website image :Index of /
conda create -n PyTorch python=3.6.5
conda info --envs
conda activate PyTorch
conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=9.0 -c pytorch
pip install opencv-contrib-python==3.4.2.16
cv2. __version__
边栏推荐
- 你真的知道判断语句吗?
- C语言进阶篇 三.字符串函数和内存操作函数
- Neo4j修改标签名
- MySQL insight
- Pure white tutorial using Druid database connection pool in idea
- I'm interested in reading efficient reading - the most cost-effective self investment
- Echo speaker pairing and operation method
- 纯小白教程 在idea里使用Druid数据库连接池
- JDBC encapsulates a parent class to reduce code duplication
- 7. 在屏幕上绘制一条贝塞尔曲线,并用反走样技术对曲线进行平滑处理。
猜你喜欢
随机推荐
MySQL insight
MySQL连接
String的字符串常量池和intern()详解
ros启动非本机节点
递归还能这么玩?递归实现扫雷游戏
用C语言写出三子棋
线程的介绍
在屏幕上绘制一个正方形,用ice.bmp对正方形做纹理映射;在正方形后绘制一个黄色的茶壶,假设正方形是透明的,绘制茶壶与正方形的混合效果;通过A,D,W和K按键调整茶壶在X轴和Y轴的位置,具体如下
【【【递归】】】
WIX 路径中带空格
VS 调试
Some experience of using D2L package and related environment configuration
day(0~6)代表每月第一天起始位置,stop代表每月天数,每天之间空两个空格。输入不同的day和stop,输出每月日历的样子。假设day为2,stop为31,则输出样式为
泛型和注解
九大排序实现与比较(万字总结)
C语言进阶篇 五.动态内存管理
赶紧进来!!带你了解什么是多文件,并轻松掌握 extern和static c语言关键字的用法!!!
【dp】数字三角形
栈与队列的互相实现(C)
这是第一篇








