-
Notifications
You must be signed in to change notification settings - Fork 125
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
new: Added jina clip v1 #408
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8dbc562
WIP: Added jina clip text embedding
hh-space-invader c1ff4b4
WIP: Added preprocess for jina clip
hh-space-invader 464f2f4
WIP: Added jina clip vision (not sure if it works yet)
hh-space-invader 0c6bf70
improve: Improved mean pooling if the output doesnt have seq length
hh-space-invader ef673a2
fix: Fixed jina clip text
hh-space-invader 98fc92e
nit
hh-space-invader 7684805
fix: Fixed jina clip image preprocessor
hh-space-invader 34ae2e0
fix: Fix type hints
hh-space-invader e7e0986
tests: Add jina clip vision test case
hh-space-invader cf4ac9e
nit
hh-space-invader eb7b425
refactor: Update fastembed/image/transform/operators.py
hh-space-invader e8a15b9
fix: Fix indentation
hh-space-invader 2d2e708
refactor: Refactored how we call padding for image
hh-space-invader b22abcc
fix: Fix pad to image when resized size larger than new square canvas
hh-space-invader 0f9cbf6
refactor: minor refactor
hh-space-invader 377836c
refactor: Refactor some functions in preprocess image
hh-space-invader 67d3ef7
fix: Fix to pad image with specified fill color
hh-space-invader 63e294b
refactor: Change resize to classmethod
hh-space-invader 7627d78
fix: Fix jina clip text v1
hh-space-invader 3a847f6
fix: fix pad to square for some rectangular images (#421)
joein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if we pass a grayscale image?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our post processor, the first operation is to change the image to RGB, so it shouldn't happen