当前位置:网站首页>Pytorch training deep learning network settings CUDA specified GPU visible
Pytorch training deep learning network settings CUDA specified GPU visible
2022-07-01 03:33:00 【It's seventh uncle】
cuda designated GPU so
- The original training command is :
python train.py --config config/pascal/pascal_split0_resnet50.yaml, But it will use GPU All graphics cards on - Want to use the specified graphics card to train , Can be in their own python preorder :
CUDA_VISIBLE_DEVICES=0,1, here 0,1 It's your own graphics card number CUDA_VISIBLE_DEVICES=0,1 python train.pyYou can use two cards 0,1 Normal training
!!! Note that there CUDA_VISIBLE_DEVICES=0,1, here CUDA_VISIBLE_DEVICES、 Equal sign and 0,1 There must be no space between them , Otherwise it will warn :WARNING:root:could not open file '/etc/apt/sources.list.d, And report an error
边栏推荐
- Gorilla/mux framework (RK boot): RPC error code design
- Leetcode 1818 absolute value, sorting, dichotomy, maximum value
- 【伸手党福利】JSONObject转String保留空字段
- File upload and download
- Server rendering technology JSP
- ECMAScript 6.0
- Stop saying that you can't solve the "cross domain" problem
- md5sum操作
- 不用加减乘除实现加法
- IPv4和IPv6、局域网和广域网、网关、公网IP和私有IP、IP地址、子网掩码、网段、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?
猜你喜欢

Develop industrial Internet with the technical advantages of small programs

排序链表(归并排序)

4、【WebGIS实战】软件操作篇——数据导入及处理

BluePrism注册下载并安装-RPA第一章

完全背包问题

详解Spark运行模式(local+standalone+yarn)

Kmeans

C # realize solving the shortest path of unauthorized graph based on breadth first BFS -- complete program display
![[nine day training] content III of the problem solution of leetcode question brushing Report](/img/7e/1e76181e56ef7feb083f9662df71c7.jpg)
[nine day training] content III of the problem solution of leetcode question brushing Report

Bilinear upsampling and f.upsample in pytorch_ bilinear
随机推荐
GCC usage, makefile summary
Ultimate dolls 2.0 | encapsulation of cloud native delivery
C#实现基于广度优先BFS求解无权图最短路径----完整程序展示
Test function in pychram
Subnet division and subnet summary
split(),splice(),slice()傻傻分不清楚?
实现pow(x,n)函数
监听器 Listener
Feign远程调用和Getaway网关
The shell script uses two bars to receive external parameters
Ouc2021 autumn - Software Engineering - end of term (recall version)
Detailed explanation of ES6 deconstruction grammar
家居网购项目
md5sum操作
torch. histc
C#实现图的深度优先遍历--非递归代码
ASGNet论文和代码解读2
JUC learning
Listener listener
JS daily development tips (continuous update)