-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solution to #258 [CLIP][Server/Engine] Send images to engine / accept…
… PIL images (#353) * ADD: Send images to engine / accept PIL images * deduce import * deduce import * annotions modify * lint /transformer/vision/utils.py * change list/List to Sequence for mixed input of str and Image objs * lint for sync_engine.py * add: unit test of PIL Image input of clip_embed models;delete: multithreading * fix: local img not found * modify:avoid import error while TYPE_CHECKING and define type hint for PIL.Image.Image * modify:avoid import error while TYPE_CHECKING and define type hint for PIL.Image.Image * modify:avoid import error while TYPE_CHECKING and define type hint for PIL.Image.Image * modify:avoid import error in TYPE_CHECKING phase for no PIL.Image installed users, and define type hint for PIL.Image.Image * modify:avoid import error in TYPE_CHECKING phase for no PIL.Image installed users, and define type hint for PIL.Image.Image * modify:avoid import error in TYPE_CHECKING phase for no PIL.Image installed users, and define type hint for PIL.Image.Image * fix:tying error of ImageClassType;use existing img instead;Sequence to List * fix:tying error of ImageClassType;use existing img instead;Sequence to List * add: requests dependency for img fetching in test * add: requests dependency for img fetching in test& poetry lock file * add: requests dependency(include types-requests) for img fetching in test& poetry lock file * add: add back run_tests_with_hook.sh --------- Co-authored-by: wgao <[email protected]> Co-authored-by: 王高 <[email protected]>
- Loading branch information
1 parent
65afe2b
commit 585aca1
Showing
9 changed files
with
1,803 additions
and
1,612 deletions.
There are no files selected for viewing
Empty file.
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.