当前位置:网站首页>Deploy the project to GPU and run
Deploy the project to GPU and run
2022-07-28 06:11:00 【Alan and fish】
1. Set up my running environment

2. Log in to my GPU

3. In my GPU Select the corresponding environment
Choose the virtual environment you want to run python
Select the folder you want to synchronize , Two boxes will appear , The front box is your local directory , The latter is the directory you want to upload .
4. see GPU Every piece on the GPU The capacity of
Enter the code
nvidia-smi

If your video memory is small , There may be a mistake
RuntimeError:CURD out of memory
At this time, you need to choose the larger part of the video memory GPU function , Or turn down your own batc_size
# Appoint GPU Run my project
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
The last number 0 Indicates using the 0 block GPU
5. Synchronous data
Method of synchronizing data :
6. When you run someone else's code, you report an error path error


边栏推荐
- ModuleNotFoundError: No module named ‘pip‘
- raise RuntimeError(‘DataLoader worker (pid(s) {}) exited unexpectedly‘.format(pids_str))RuntimeErro
- vscode uniapp
- Construction of redis master-slave architecture
- 1: Why should databases be divided into databases and tables
- 如何选择小程序开发企业
- Deep learning (self supervision: CPC V2) -- data efficient image recognition with contractual predictive coding
- 强化学习——价值学习中的DQN
- Uview upload component upload upload auto upload mode image compression
- 微信小程序开发费用制作费用是多少?
猜你喜欢

深度学习(增量学习)——ICCV2022:Contrastive Continual Learning

1: Why should databases be divided into databases and tables

强化学习——Proximal Policy Optimization Algorithms

深度学习(增量学习)——(ICCV)Striking a Balance between Stability and Plasticity for Class-Incremental Learning

微信小程序开发语言一般有哪些?

Idempotent component

深度学习(自监督:CPC v2)——Data-Efficient Image Recognition with Contrastive Predictive Coding

Deep learning (self supervision: simple Siam) -- Exploring simple Siamese representation learning

Deep learning (self supervision: simpl) -- a simple framework for contractual learning of visual representations

【五】redis主从同步与Redis Sentinel(哨兵)
随机推荐
mysql5.6(根据.ibd,.frm文件)恢复单表数据
Deep learning (incremental learning) - iccv2022:continuous continuous learning
Nlp项目实战自定义模板框架
强化学习——价值学习中的DQN
强化学习——连续控制
Digital collections "chaos", 100 billion market change is coming?
2: Why read write separation
matplotlib数据可视化
分布式集群架构场景化解决方案:集群时钟同步问题
《AdaFace: Quality Adaptive Margin for Face Recognition》用于人脸识别的图像质量自适应边缘损失
What about the app store on wechat?
Xshell suddenly failed to connect to the virtual machine
强化学习——价值学习中的SARSA
循环神经网络
uView上传组件upload上传auto-upload模式图片压缩
小程序开发系统有哪些优点?为什么要选择它?
微信小程序开发语言一般有哪些?
神经网络优化
【五】redis主从同步与Redis Sentinel(哨兵)
Ssh/scp breakpoint resume Rsync