Questions about content-related query and hybrid matching.
Chuck-Yu opened this issue · comments
Thanks for your great work. After reading your paper and code, I have some questions about Content-related Query and Hybrid Matching.
- When two_stage enabled, query number = two_stage_num_proposals which is not equal
one2one + one2many
. Seems like the hybrid matching disabled by two_stage. - If pass the
one2one + one2many
to two_stage_num_proposals, whether theone2many
query part should initialized by encoder proposal and why?
Plain-DETR/models/transformer.py
Lines 277 to 296 in 6ad930b
Thanks for your interest!
-
As shown below,
two_stage_num_proposals
is set toone2one + one2many
Plain-DETR/models/transformer.py
Line 414 in 6ad930b
-
We initialize the
one2many
queries by proposals, following the practice of the original hybrid matching code . In my view, since theone2many
branch has a decoding procedure similar to theone2one
branch, the two-stage trick should yield similar effects for both branches.