当前位置:网站首页>mmdetection 学习率与batch_size关系
mmdetection 学习率与batch_size关系
2022-07-03 14:43:00 【swust_fang】
一般mmdetection复现的文章学习率都在对应config文件下,是0.01或者0.02。
如果自己要复现论文,但是gpu数量不足,比如只有一块gpu,如何设置学习率呢
但是原论文学习率是0.01,samples_per_gpu=2,gpu_num = 8
原论文 batch_size = samples_per_gpu * gpu_num =16
那么 batch_size*LR 这个值是不变的
如果你只有一块gpu,samples_per_gpu=8,batch_size=8,你的新的学习率lr = 0.005
如果你有两块gpu,sample_per_gpu=2,batch_size=4,那么新学习率lr=0.025
如果你有4块gpu,sample_per_gpu=4,batch_size=16,学习率不变,lr=0.01
边栏推荐
- Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution
- Use of constraintlayout
- Bucket sorting in C language
- Dllexport and dllimport
- Puzzle (016.4) domino effect
- Tonybot humanoid robot infrared remote control play 0630
- 分布式事务(Seata) 四大模式详解
- Zzuli:1044 failure rate
- Find books ()
- Ultra simple mobile map development
猜你喜欢

Pyqt interface production (login + jump page)
![Luogu p4047 [jsoi2010] tribal division solution](/img/7f/3fab3e94abef3da1f5652db35361df.png)
Luogu p4047 [jsoi2010] tribal division solution

Tonybot Humanoïde Robot Infrared Remote play 0630

Zzuli:1053 sine function
![Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution](/img/89/da1a3a38e02671628f385de0f30369.png)
Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution

MySQL multi table query subquery

Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial

tonybot 人形机器人 红外遥控玩法 0630

Understand the application scenario and implementation mechanism of differential segment

C language fcntl function
随机推荐
Find specified characters
Pyqt interface production (login + jump page)
Timecho of Tianmou technology completed an angel round financing of nearly 100 million yuan to create a native timing database of the industrial Internet of things
7-3 rental (20 points)
Happy capital new dual currency fund nearly 4billion yuan completed its first account closing
Zzuli:1044 failure rate
基因家族特征分析 - 染色体定位分析
Tonybot humanoid robot checks the port and corresponds to port 0701
Luogu p5194 [usaco05dec]scales s solution
Use of form text box (I) select text
String substitution
NPM install is stuck with various strange errors of node NPY
tonybot 人形机器人 定距移动 代码编写玩法
亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?
Container of symfony
PHP GD image upload bypass
洛谷P5536 【XR-3】核心城市 题解
tonybot 人形机器人 查看端口并对应端口 0701
Understand the application scenario and implementation mechanism of differential segment
7-1 positive integer a+b (15 points)