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 mlp_head #46

Open
Zfansheng opened this issue Jan 4, 2025 · 0 comments
Open

about mlp_head #46

Zfansheng opened this issue Jan 4, 2025 · 0 comments

Comments

@Zfansheng
Copy link

lib/models/mixformer2_vit/head.py, line 26
self.indice = torch.arange(0, feat_sz).unsqueeze(0).cuda() * stride # (1, feat_sz)

The range of self.indice is from 0 to feat_sz -1, which means that it represents 0 to (feat_sz-1) *stride, which cannot represent all coordinates.

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