We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I found a code bug. Can you verify it?
In the oneformer_transformer_decoder.py file, line 432:
oneformer_transformer_decoder.py
feats = self.pe_layer(mask_features, None) out_t, _ = self.class_transformer(feats, None, self.query_embed.weight[:-1], self.class_input_proj(mask_features), tasks if self.use_task_norm else None)
I think you used the positional embedding as the source features. The forward method of that self.class_transformer is:
self.class_transformer
def forward(self, src, mask, query_embed, pos_embed, task_token=None): ...
I think it should be:
feats = self.class_input_proj(mask_features) out_t, _ = self.class_transformer(feats, None, self.query_embed.weight[:-1], self.pe_layer(mask_features, None), tasks if self.use_task_norm else None)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I found a code bug. Can you verify it?
In the
oneformer_transformer_decoder.py
file, line 432:I think you used the positional embedding as the source features. The forward method of that
self.class_transformer
is:I think it should be:
The text was updated successfully, but these errors were encountered: