-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
RT-DETR with semi-supervised object detection #8336
Conversation
Thanks for your contribution! |
|
||
|
||
@register_op | ||
class BatchRandomResize_semi_detr(BaseOperator): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个命名不友好,另外是否和BatchRandomResize合并,或者BatchRandomResizeForSSOD,不使用下划线
ppdet/engine/trainer_ssod.py
Outdated
@@ -40,7 +40,7 @@ | |||
|
|||
logger = setup_logger('ppdet.engine') | |||
|
|||
__all__ = ['Trainer_DenseTeacher', 'Trainer_ARSL'] | |||
__all__ = ['Trainer_DenseTeacher', 'Trainer_ARSL', 'Trainer_Semi_detr'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里改名为Semi_RTDETR更合理,Semi-DETR是另一篇工作
losses = self.student.detr_head(out_transformer, body_feats, | ||
student_unsup) | ||
|
||
losses['loss_class'] *= 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的操作是否必要?可以有更简洁的实现方式还有增加注释
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,已经全部修改了
No description provided.