Comments (7)
咩咩老师,我看了一下PP-YOLOE的head部分的代码,那里似乎好像没有对L2Decay做单独的设置呀~
def add_param_group(self, param_groups, base_lr, base_wd, need_clip, clip_norm) 方法设置了每个参数的weight_decay了
咩咩老师,你好,我们又看了一下PP-YOLOE的代码,我们看到:在主干网络中,是只有卷积层的weight参数使用了权重衰减;但是,在head部分,似乎是全部的参数(包括weight和bias项)都使用权重衰减,就是在这里,https://github.com/PaddlePaddle/PaddleDetection/blob/99920ab168642615f8b8e31462599fd662282546/ppdet/modeling/heads/ppyoloe_head.py#L105-L111 所以是不是:只有主干网络才是您在上面说的这个策略——“仅卷积层的weight使用系数为0.0005的权重衰减”呀? 而Head部分是对所有参数项都使用WeightDecay呢?
是的,在骨干网络确实是像我所说的那样。总之,权重衰减是和原版完全一致的。这个你不必担心。
from miemiedetection.
请参考咩咩老师在知乎中的回复;
from miemiedetection.
咩咩老师,我看了一下PP-YOLOE的head部分的代码,那里似乎好像没有对L2Decay做单独的设置呀~
from miemiedetection.
咩咩老师,我看了一下PP-YOLOE的head部分的代码,那里似乎好像没有对L2Decay做单独的设置呀~
def add_param_group(self, param_groups, base_lr, base_wd, need_clip, clip_norm) 方法设置了每个参数的weight_decay了
from miemiedetection.
咩咩老师,我看了一下PP-YOLOE的head部分的代码,那里似乎好像没有对L2Decay做单独的设置呀~
def add_param_group(self, param_groups, base_lr, base_wd, need_clip, clip_norm) 方法设置了每个参数的weight_decay了
谢谢您的回复,我再去看看哈~
from miemiedetection.
咩咩老师,我看了一下PP-YOLOE的head部分的代码,那里似乎好像没有对L2Decay做单独的设置呀~
def add_param_group(self, param_groups, base_lr, base_wd, need_clip, clip_norm) 方法设置了每个参数的weight_decay了
咩咩老师,你好,我们又看了一下PP-YOLOE的代码,我们看到:在主干网络中,是只有卷积层的weight参数使用了权重衰减;但是,在head部分,似乎是全部的参数(包括weight和bias项)都使用权重衰减,就是在这里,https://github.com/PaddlePaddle/PaddleDetection/blob/99920ab168642615f8b8e31462599fd662282546/ppdet/modeling/heads/ppyoloe_head.py#L105-L111
所以是不是:只有主干网络才是您在上面说的这个策略——“仅卷积层的weight使用系数为0.0005的权重衰减”呀?
而Head部分是对所有参数项都使用WeightDecay呢?
from miemiedetection.
咩咩老师,我看了一下PP-YOLOE的head部分的代码,那里似乎好像没有对L2Decay做单独的设置呀~
def add_param_group(self, param_groups, base_lr, base_wd, need_clip, clip_norm) 方法设置了每个参数的weight_decay了
咩咩老师,你好,我们又看了一下PP-YOLOE的代码,我们看到:在主干网络中,是只有卷积层的weight参数使用了权重衰减;但是,在head部分,似乎是全部的参数(包括weight和bias项)都使用权重衰减,就是在这里,https://github.com/PaddlePaddle/PaddleDetection/blob/99920ab168642615f8b8e31462599fd662282546/ppdet/modeling/heads/ppyoloe_head.py#L105-L111 所以是不是:只有主干网络才是您在上面说的这个策略——“仅卷积层的weight使用系数为0.0005的权重衰减”呀? 而Head部分是对所有参数项都使用WeightDecay呢?
是的,在骨干网络确实是像我所说的那样。总之,权重衰减是和原版完全一致的。这个你不必担心。
好的,谢谢老师🙏
from miemiedetection.
Related Issues (20)
- 关于训练的问题 HOT 1
- critical difference in dfl loss compared to GFL
- Train on VOC 2007 Dataset HOT 1
- 大佬,能分享下s模型在coco上的训练日志吗? HOT 2
- 请问可以分享ppyoloe m在coco上的训练log吗 HOT 1
- 跑yolox的时候,这里有个小小小bug HOT 1
- 请教下在训练yolox和ppyoloe的时候,有没有必要放入一些没有目标框的图片做训练集
- 支持ppyoloe plus 的转换么?
- 训练自定义数据集时出了个错
- yolox_head_fast.py的get_in_boxes_info函数似乎有一点小错误
- 训练中途出现fast_cocoeval问题 HOT 1
- yolox_head_fast.py中当G == 0的返回loss有问题
- 关于yolox_head_fast.py里面dynamic_k_matching函数的一个小bug
- 关于yolox_head_fast.py里面dynamic_k_matching函数的一个小bug
- GPU 利用率低
- 转换RT-DETR 为pth文件失败
- 训练rtdert报错
- ImportError: exps/ppyolo/ppyolo_r50vd_2x.py doesn't contains class named 'Exp' HOT 1
- ModuleNotFoundError: No module named 'yolox'
- 用collate_fn实现batch_transforms太耗时了,这句话如何理解
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miemiedetection.