当前位置:网站首页>Installation of pytorch in pycharm
Installation of pytorch in pycharm
2022-06-24 03:38:00 【No big no small coconut】
Today, I just started the actual contact pytorch, If a worker wants to do a good job, he must sharpen his tools first , We have to have something in hand , There are many online installation tutorials , Also very detailed , But most of it is based on anaconda Environmental Science , use anaconda install pytorch Really easy to use and easy to manage , however anaconda It's really a little bloated , For those with insufficient space , Don't want to delete python Classmate , We can download it directly pytorch, If there are any problems in the future, I will try the water first , The specific steps are as follows :
List of articles
1. Version selection
1.1 Check the graphics card 、 Update driver
There is nothing unique to skip this step
● It is better to update the driver first
● win+R key -> Input cmd -> Enter the following instructions to view the relevant information
nvidia-smi

Remember to introduce a version number .
1.2 Choose the version
Because our environment does not use anaconda, In the third line, we choose Pip, The fifth row Computer Platform Just choose one with a lower version number , Copy the lowest instruction .
2. use pycharm install pytorch
open pycharm, There are built projects , Or create a new project , Click on the bottom column terminal, Paste the copied instructions above and press enter to execute them .
After downloading, check whether the installation is complete .
import torch
print(torch.cuda.is_available())
The result is True
Then rush !!!
边栏推荐
- web渗透测试----5、暴力破解漏洞--(1)SSH密码破解
- Modstartcms theme introductory development tutorial
- What does cloud computing elasticity mean? What are its functions?
- "Sharp weapon" for enterprise resumption? When the sale comes, the contract should be signed like this!
- What is the difference between server leasing and hosting?
- getLocationInWindow源码
- Cross platform RDP protocol, RDP like protocol and non RDP protocol remote software
- 你了解TLS协议吗?
- Micro build low code enterprise exchange day · Shenzhen station opens registration
- Chapter 6: UART echo case of PS bare metal and FreeRTOS case development
猜你喜欢
随机推荐
Live broadcast Reservation: cloud hosting or cloud function, how can the business do a good job in technology selection?
Why do I need a code signing certificate? Where can I get a code signing certificate?
What is distributed configuration center Nacos? What are the functions of distributed configuration center Nacos?
Get to know MySQL database
What is an edge calculator? How is the unit price of the edge calculator calculated?
On Sunday, I rolled up the uni app "uview excellent UI framework"
Mocktio usage (Part 2)
How to choose excellent server hosting or server leasing in Beijing
What is elastic scaling in cloud computing? What are the main applications of elastic scaling in cloud computing?
Independent innovation and localization technology: SMT production line monitoring and management visualization of intelligent manufacturing
well! Do you want to have a romantic date with the shining "China Star"?
元气森林推“有矿”,农夫山泉们跟着“卷”?
Several options of F8 are very useful
If the cloud knows that security is important
How to build glasses website what are the functions of glasses website construction
Cross platform RDP protocol, RDP like protocol and non RDP protocol remote software
Modstartcms theme introductory development tutorial
Under what circumstances do you need a fortress machine? What are the functions of a fortress machine
Typera cooperates with picgo to upload pictures to its own server with one click and obtain external links at the same time
Dry goods how to build a data visualization project from scratch?








