当前位置:网站首页>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 !!!
边栏推荐
- Micro build low code enterprise exchange day · Shenzhen station opens registration
- How to select a server with appropriate configuration when planning to build a live broadcast platform
- ModStartCMS 主题入门开发教程
- How to handle the uplink and downlink silence of TRTC
- hprofStringCache
- Coding Ci of Devops
- How to design a hybrid system
- 618大促:手机品牌“神仙打架”,高端市场“谁主沉浮”?
- What is the impact on the server rental or server hosting price?
- 在pycharm中pytorch的安装
猜你喜欢
Thank you for your recognition! One thank-you note after another

Sorting out of key vulnerabilities identified by CMS in the peripheral management of red team (I)

老弹出explorer.exe遇到问题已停止工作,怎么办?

Modstartcms enterprise content site building system (supporting laravel9) v4.2.0

618大促:手机品牌“神仙打架”,高端市场“谁主沉浮”?

元气森林推“有矿”,农夫山泉们跟着“卷”?

Get to know MySQL database

Community pycharm installation visual database

On Sunday, I rolled up the uni app "uview excellent UI framework"

你了解TLS协议吗?
随机推荐
你了解TLS协议吗?
Tke accesses the cluster through kubectl in pod
How to handle the uplink and downlink silence of TRTC
Mocktio usage (Part 2)
LeetCode 129. Find the sum of numbers from root node to leaf node
Tencent cloud ASR product -php realizes the authentication request of the extremely fast version of recording file identification
在pycharm中pytorch的安装
Grp: how to gracefully shutdown a process?
Grpc: how to add API log interceptors / Middleware?
Troubleshooting and resolution of errors in easycvr calling batch deletion interface
Ligature in font design
Paste board based on curl and COS
web渗透测试----5、暴力破解漏洞--(1)SSH密码破解
An example of SPM manual binding execution plan
Hunan data security governance Summit Forum was held, and Tencent built the best practice of government enterprise data security
halcon知识:区域(Region)上的轮廓算子(2)
Using RDM (Remote Desktop Manager) to import CSV batch remote
take the crown! Tencent security won the 2021 national network security week outstanding innovation achievement award
[new double 11] the latest interpretation of Tencent cloud double 11! Get 11000 yuan voucher now!!
What is edge computing? What are the characteristics of the Internet platform edge calculator?