当前位置:网站首页>Pytorch installation (personal records)
Pytorch installation (personal records)
2022-04-23 22:02:00 【Know what you know and slowly understand what you don't know】
( Personal operation records )
1. install Anaconda
Anaconda The installation package can go to https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
download
( Tsinghua mirror )
installation is complete Anaconda, Test environment variables
- Get into cmd Command window
- verification Anaconda Environment installed successfully :
conda --version
- Check which environment variables are currently installed :
conda info --envs
Input conda list
You can see that it has been installed numpy、sympy And so on .
2. establish PyTorch Environmental Science
- Get into
Anaconda prompt
Command window ( In the beginning column ) - Enter the following :conda create -n PyTorch python=3.8
PyTorch Is the name of the virtual environment ( It can be set at will ),3.8 yes python edition , Can be changed according to their own needs , Be sure to specify specific python edition .
3. Then press y
, Continue to install the required dependent packages
Once created , Enter the following command :conda info --envs
You can see all your surroundings
Input conda activate PyTorch Activate
Reference blog :PyTorch The latest installation tutorial (2021-07-27)_ tuyere IT Growth record of pigs -CSDN Blog _pytorch
版权声明
本文为[Know what you know and slowly understand what you don't know]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204200609332591.html
边栏推荐
- Ribbon组件基本介绍和使用
- Database Experiment 5 Security Language Experiment
- ROS learning notes - tutorial on the use of ROS
- openFeign 服务调用
- Subcontracting of wechat applet based on uni app
- Centos7 builds MySQL master-slave replication from scratch (avoid stepping on the pit)
- 将OSS上的图片转换成Base64编码
- CVPR2022 | 基于知识蒸馏的高效预训练
- Ribbon停止维护
- 服务间通信和RestTemplate完成服务间通信
猜你喜欢
[※ leetcode refers to offer 46. Translate numbers into strings (medium)]
[leetcode refers to offer 21. Adjust the array order so that odd numbers precede even numbers (simple)]
Cvpr2022 | efficient pre training based on knowledge distillation
[leetcode sword finger offer 10 - II. Frog jumping steps (simple)]
NVM introduction, NVM download, installation and use (node version management)
不同注册中心区别
MVC three-tier architecture (illustration)
延时消息常见实现方案
JUnit unit test ---- a good tool for testing a single method
C language programming based on loop structure (PTA)
随机推荐
Resolve the "chromedriver executable needs to be in path" error
服务熔断的实现
Introduction to hystrix and implementation of server fuse
Plato farm is one of the four largest online IEOS in metauniverse, and the transaction on the chain is quite high
C # problem of updating data: dynamic SQL generation is not supported for multiple base tables
When pycharm debugs, view the tensor image of pytorch in the console
hystrix dashboard的使用
服务雪崩效应
Database Experiment 8 trigger experiment
[leetcode sword finger offer 28. Symmetric binary tree (simple)]
[leetcode refers to offer 52. The first common node of two linked lists (simple)]
CVPR2022 | 基于知识蒸馏的高效预训练
[leetcode refers to offer 27. Image of binary tree (simple)]
Code cloud download history version process
How to use the project that created SVN for the first time
Ensuring the quality of living materials and food safety in Shanghai
清华大学 | WebFace260M:百万级深度人脸识别的基准(TPAMI2022)
Daily operation and maintenance knowledge -- 1
分布式系统服务熔断
Tsinghua University | webface260m: benchmark for million level deep face recognition (tpami2022)