-
-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
Hi,
Thank you for your effort and time in implementing this. I have a quick question, I want to get segmentation for full image not just for the middle token, would it be correct to change self.tokens to self.p here:
| self.mlp_seg_head = nn.Linear(dim, self.tokens * self.num_classes) |
and change this:
| y = self.mlp_seg_head(y[:, self.mid_token, :]) |
to
y = self.mlp_seg_head(y)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels