-
Notifications
You must be signed in to change notification settings - Fork 3k
【Hackathon 8th No.38】在 PaddleDetection 中复现 RT-DETRv3 模型 #9376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for your contribution! |
RFC 不需要重新写 |
您好,请新增r101的架构,另外请提供训练完成已经复线精度的模型,若有保存训练过程的log,也可以一并提供,便于精度的复现。 |
感谢您的解答,以下是对您所题问题的回复:
|
您好,建议训练完成其中一个配置的模型,且能完全对齐精度。 |
训练最小的模型也需要至少8张24G显存的显卡,我这边找不到这样的资源。您这边能帮忙训练吗?或者提供算力支持? 关于精度,理论上官方repo如果能复现论文精度,那本pr也没问题,毕竟就没差几行代码。反之,我也没有办法强行对齐论文精度。 |
batch_size和lr减半,aistudio v100 * 4,paddlepaddle-gpu==3.0 python tools/train.py \
-c configs/rtdetrv3/rtdetrv3_r18vd_6x_coco.yml \
-o \
find_unused_parameters=False \
log_iter=100 \
TrainReader.batch_size=8 \
LearningRate.base_lr=0.0002 \
--fleet \
--eval weight&log: https://pan.baidu.com/s/1TDZzKs63Y-fvCT09g_GsIg?pwd=5i6x @Sunting78 精度
|
您好,请参考https://github.com/PaddlePaddle/PaddleDetection/blob/develop/configs/rtdetrv2/README.md 在配置目录下添加README文档 |
已添加README.md |
本次复现基于官方repo:https://github.com/clxia12/RT-DETRv3
鉴于官方repo基于
PaddleDetection 2.8.1
实现,本次复现尽可能采用官方repo的代码,只做了少量细微改动:RTDETRv3
合并到DETR
中,通过配置aux_o2m_head
来实现RTDETRv3DINOv3Head
重命名为RTDETRv3Head
,将DINOv3Loss
重命名为RTDETRv3Loss
变动
PadGT
,增加参数only_origin_box
。当only_origin_box
为False
时,功能与原先一样,默认为False
NormalizeBox
,增加参数retain_origin_box
。当retain_origin_box
为False
时,功能与原先一样,默认为False
BatchCompose
,增加对origin_gt_bbox
和origin_gt_class
的支持PPYOLOEHead.get_loss
,当origin_gt_bbox
、origin_gt_class
、pad_origin_gt_mask
存在时,替代gt_bbox
、gt_class
、pad_gt_mask
DETR
,增加参数aux_o2m_head
。当aux_o2m_head
为None
时,功能与原先一样,默认为None