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

Remove cls_embed arg from forward/encode_image fns #692

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

rwightman
Copy link
Collaborator

@gpucce wouldn't this be a cleaner approach to #691? the context_len (length of input text tokens) IS 76 so it doesn't make sense to feed it 77 and then always remove one token...

@gpucce
Copy link
Contributor

gpucce commented Oct 23, 2023

yeah it is clearly better

@gpucce gpucce mentioned this pull request Oct 23, 2023
@rwightman rwightman merged commit ae8333f into main Oct 23, 2023
5 checks passed
@rwightman rwightman deleted the remove_cls_embed_arg branch October 23, 2023 16:11
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.

2 participants