Skip to content
New issue

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

About the encoder layer output #104

Open
Shar-01 opened this issue Jun 15, 2023 · 0 comments
Open

About the encoder layer output #104

Shar-01 opened this issue Jun 15, 2023 · 0 comments

Comments

@Shar-01
Copy link

Shar-01 commented Jun 15, 2023

As understood, the MCG-NJU/videomae-base encoder outputs tensor of size (batch, 1568,768). Can we interpret this as 1567 patch tokens with emb size of 768 and the first token as the cls token? If so, for further downstream tasks, can we only take the first (cls token)and discard the rest 1567 patch tokens? I.e., Can we just take (batch, 1, 768) for further downstream tasks? Can someone say if they tried this for further downstream tasks and how much information is lost/retained compared to taking the whole 1568 tokens? (if someone compared it).

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

No branches or pull requests

1 participant