当前位置:网站首页>Pytoch deep learning environment construction
Pytoch deep learning environment construction
2022-07-04 17:45:00 【Wu_ Candy】
Windows In the environment Anaconda3 The installation steps are as follows :
pytorch Official website :
https://pytorch.org/ https://pytorch.org/get-started/locally/
1、 First download the following screenshot on the Internet by yourself Anaconda3*.exe file , Double click to proceed to the next installation .
2、 After successful installation, find in all the programs shown in the figure below Anaconda Prompt Open the command line window
3、 open Anaconda Prompt after , Execute the following commands in turn
(1)、conda install pytorch torchvision -c pytorch
(2)、 explain : Slow speed , Tsinghua can be modified Mirror
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/ modify 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
modify Conda The source of channels command
conda config --remove channels website
(3)、conda install pytorch torchvision # Don't bring -c
(4)、 install jupty development tool :
conda install jupyter
If no error is reported , Congratulations, your environment has been set up successfully , Next, find in all programs Jupyter Notebook
4、 open Jupyter Notebook Enter the local environment code editing and running interface , During the startup process, the window shown in the following figure will be opened first :
The browser will open automatically again , The website is :http://localhost:8888/tree, As shown in the screenshot below :
5、 stay jupyter Create a new project code note in , Start writing code script
step1: Click on New, choice Python3
step2: Enter the code script editing page
step3、 Run code , Use Control + Enter Key execution
边栏推荐
- Summary of tx.origin security issues
- The Block:USDD增长势头强劲
- 雨量预警广播自动化数据平台BWII 型广播预警监测仪
- 离线、开源版的 Notion—— 笔记软件Anytype 综合评测
- Load test practice of pingcode performance test
- 上网成瘾改变大脑结构:语言功能受影响,让人话都说不利索
- 电子宠物小狗-内部结构是什么?
- What grade does Anxin securities belong to? Is it safe to open an account
- 创业两年,一家小VC的自我反思
- 要上市的威马,依然给不了百度信心
猜你喜欢
It's too convenient. You can complete the code release and approval by nailing it!
曾经的“彩电大王”,退市前卖猪肉
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
什么是低代码开发?
CocosCreator事件派发使用
kaili不能输入中文怎么办???
Perfectly integrated into win11 style, Microsoft's new onedrive client is the first to see
What is low code development?
上网成瘾改变大脑结构:语言功能受影响,让人话都说不利索
[unity ugui] scrollrect dynamically scales the grid size and automatically locates the middle grid
随机推荐
[Huawei HCIA continuous update] SDN and FVC
Cocoscreator event dispatch use
Is it safe for Great Wall Securities to open an account? How to open a securities account
[system analyst's road] Chapter 7 double disk system design (structured development method)
上网成瘾改变大脑结构:语言功能受影响,让人话都说不利索
Mathematical analysis_ Notes_ Chapter 7: differential calculus of multivariate functions
Vscode modification indentation failed, indent four spaces as soon as it is saved
一文掌握数仓中auto analyze的使用
设置窗体透明 隐藏任务栏 与全屏显示
7 RSA密码体制
ble HCI 流控机制
TP configuring multiple databases
Two methods of MD5 encryption
PingCode 性能测试之负载测试实践
超大规模数仓集群在大型商业银行的落地实践
VB cannot access database stocks
图像检索(image retrieval)
Web game engine
Perfectly integrated into win11 style, Microsoft's new onedrive client is the first to see
雨量预警广播自动化数据平台BWII 型广播预警监测仪