facebookresearch/detr

if object query is random, as shown in code, how to evaluate to get a steady result?

RedBlack888 opened this issue · 1 comments

if object query is random, as shown in code, how to evaluate to get a steady result when inference?
self.query_embed = nn.Embedding(num_queries, hidden_dim)

hs = self.transformer(self.input_proj(src), mask, self.query_embed.weight, pos[-1])[0]

Best.

It's learnable. I think you'll use the learnt weight on inference