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

[CLIPSeg] Make interpolate_pos_encoding default to True #34419

Merged
merged 6 commits into from
Oct 31, 2024

Conversation

NielsRogge
Copy link
Contributor

@NielsRogge NielsRogge commented Oct 25, 2024

What does this PR do?

This PR fixes #34415 by making interpolate_pos_encoding default to True.

@NielsRogge NielsRogge mentioned this pull request Oct 25, 2024
4 tasks
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@manuelsh
Copy link
Contributor

Please see my comment #34415 (comment) before merging.

@NielsRogge NielsRogge changed the title [CLIPSeg] Remove interpolate_pos_encoding [CLIPSeg] Make interpolate_pos_encoding default to True Oct 27, 2024
@NielsRogge
Copy link
Contributor Author

I've updated my PR description based on your comments

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks, not sure why one of the integration test is gone, congrats on getting the old logits back! 🥳

@NielsRogge
Copy link
Contributor Author

NielsRogge commented Oct 31, 2024

I just reverted to the interpolation which is used by all other models, so the logits diff remains (edit: it looks like it has to do with my local setup)

@NielsRogge NielsRogge merged commit df8640c into huggingface:main Oct 31, 2024
17 checks passed
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

Successfully merging this pull request may close these issues.

ClipSeg broken
4 participants