Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

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

Open
RedBlack888 opened this issue Aug 4, 2023 · 1 comment

Comments

@RedBlack888
Copy link

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.

@AjibolaPy
Copy link

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

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

No branches or pull requests

2 participants