askerlee/segtran

Where can we find the code that generates the prototype?

saklanip opened this issue · 1 comments

Where can we find the code that generates the prototype?

Good question. I should have explained it in the readme page. They are actually attactors in the squeeze-and-expansion transformer layer:

self.attractors = Parameter(torch.randn(1, self.num_attractors, self.in_feat_dim))