Comments (3)
Ah yes. Patch in the latest commit, which riginally targets level of verbosity in clip_model_load
function. It now accepts one extra parameter as an integer to control the amount of verbose prints.
from clip.cpp.
I also want to support text-only and image-only model options in addition to the current one that contains both towers. My initial idea is to modify the conversion script to output text-only, image-only or two-tower models, and then modify clip_model_load
(again introducing an extra param, sorry :D ) to specify the type of the model. Does it makes sense to you? Or any other suggestions?
from clip.cpp.
I also want to support text-only and image-only model options in addition to the current one that contains both towers.
My initial idea is to modify the conversion script to output text-only, image-only or two-tower models, and then modify clip_model_load (again introducing an extra param, sorry :D ) to specify the type of the model. Does it makes sense to you? Or any other suggestions?
what if they where totally separated? so 2 model files, 2 model_load()
functions... hmm
I feel like that would be bad usability wise, since it could lead to non-aligned model mixups. But fundamentally yes.
from clip.cpp.
Related Issues (20)
- include license file HOT 3
- Write instructions for Apple Mac HOT 12
- Support image-only HOT 8
- Typo in the error message HOT 1
- Can this use convNeXt architecture? HOT 4
- Prepare clip.cpp for upcoming llava.cpp HOT 1
- Support custom mean-std normalization HOT 3
- not enough space in the context's memory pool (on Apple M1 Max, 32GB RAM, clip-vit-b-32) HOT 6
- Provide Python bindings
- [ZSL] Results doesn't match hugging face demo HOT 5
- Segmentation Fault and Core Dump when running image-search-build with Multiple images in folder Using the 4bit model HOT 5
- Can the text-encoder / vision-encoder be optional rather than mandatory? HOT 2
- Publish as a Pip-installable Python package HOT 1
- Improve zero-shot labeling
- python binding: OSError libggml.so: cannot open shared object file HOT 4
- Migrate to GGUF HOT 4
- Move ZSL implementation to `clip` lib as a function
- Support downloading models in Python bindings HOT 1
- Introduce Java bindings
- Support batch inference for models other than patch32 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clip.cpp.