Skip to content
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

PLA中的proposal来自于哪些模块的生成? #5

Open
CYYAI opened this issue Aug 24, 2022 · 3 comments
Open

PLA中的proposal来自于哪些模块的生成? #5

CYYAI opened this issue Aug 24, 2022 · 3 comments

Comments

@CYYAI
Copy link

CYYAI commented Aug 24, 2022

您好,下面ppt中的proposal是如何产生的?是strong img aug-->student backbone-->student neck-->teacher head
还是strong img aug-->student backbone-->student neck-->student head ?
image

@CYYAI
Copy link
Author

CYYAI commented Aug 24, 2022

RCNN stage

""" obtain proposals """
if self.use_teacher_proposal:
proposal_list = tea_proposals

else :
proposal_cfg = self.student.train_cfg.get(
"rpn_proposal", self.student.test_cfg.rpn
)
proposal_list = self.student.rpn_head.get_bboxes(
*stu_rpn_outs, img_metas_student, cfg=proposal_cfg
)
我看代码中self.use_teacher_proposal=True,但tea_proposals来源于weak img-->teach model。论文中说“We share the proposals generated by the teacher RPN with the student”,但这里的teacher RPN并没有共享,所以我想问一下proposal的来源。

@ligang-cs
Copy link
Owner

Proposals是由teacher model的RPN产生的。在student的训练过程中,虽然student RPN会产生自己的proposals,但是没有被使用。而是把teacher的proposals直接拿来训练student了。

@CYYAI
Copy link
Author

CYYAI commented Aug 29, 2022

Proposals是由teacher model的RPN产生的。在student的训练过程中,虽然student RPN会产生自己的proposals,但是没有被使用。而是把teacher的proposals直接拿来训练student了。

很感谢您的解答,我还有一个问题,论文中指出这个方法也适用于单阶段,如果是单阶段的话,那么质量得分q的生成是student_model+teacher_head生成候选框吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants