Closed wsy-yjys closed 2 months ago
What do query pos and tgt stand for?
query pos
tgt
class DecoDecoderLayer(nn.Module): …… def forward(self, tgt, memory, query_pos: Optional[Tensor] = None): # SIM b, d, h, w = memory.shape tgt2 = tgt + query_pos
Does query pos indicate positional encodings?
Yes. And tgt is the object queries.
What do
query pos
andtgt
stand for?