-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support openclip&mclip models + refactor model loader (#774)
* fix: draft commits * feat: add openclip+mclip support * feat: add openclip+mclip support * fix: update openclip model list * fix: import error * fix: import error * fix: import error * fix: remove executor clip_oc * fix: recovered procs in helper for older version onnx&trt executors * fix: recovered procs in helper for older version onnx&trt executors * fix: add openclip requirement * fix: recover helper.py * fix: add openclip requirement * fix: add openclip requirement * fix: recover helper.py * fix: refactor preprocessor (#776) * fix: refactor preprocessor * fix: error * fix: missing functions * fix: revert commit * fix: tests * fix: simple tokenizer * fix: clip model mixin * feat: support customized download * feat: support customized download * feat: support customized download * fix: init kwargs * fix: minor revision * fix: errors * f * fix: error * fix: update open ai model loading * fix: clean codes * fix: clean codes * fix: open clip base model name * fix: minor revision * fix: clean unused codes * fix: mclip image size * fix: mclip tokenizer error * fix: set padding * fix: set truncation * fix: update tokenizer api * fix: add unittest * fix: update license * fix: unittest Co-authored-by: numb3r3 <[email protected]> Co-authored-by: felix-wang <[email protected]>
- Loading branch information
1 parent
32b11cd
commit fa62d8e
Showing
17 changed files
with
505 additions
and
795 deletions.
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
Oops, something went wrong.