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

[Question] Image padding features removal in LLaVA-1.5-HD #1833

Open
0xnakul opened this issue Feb 10, 2025 · 0 comments
Open

[Question] Image padding features removal in LLaVA-1.5-HD #1833

0xnakul opened this issue Feb 10, 2025 · 0 comments

Comments

@0xnakul
Copy link

0xnakul commented Feb 10, 2025

Question

Hello @haotian-liu !! In the A.1 section of the "Improved Baselines with Visual Instruction Tuning" paper, it is mentioned that:

Padding removal. Features corresponding exclusively to the paddings are discarded.

How is this done? I'm having trouble finding this block in the LLaVA and the LLaVA-NeXT codebase. Can you please point me so that I can look into the implementation?

This further raises the question: the bounding boxes in the instruction tuning datasets are normalized assuming a square padded image as mentioned in #606. If the padding tokens are cut-off, won't it impact the normalization of the bounding boxes and ultimately the training?

Am I missing something here?

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