Comments (5)
by the way, the interrogator is really good, nicely done.
best one I've used so far 😄
from clip-interrogator.
I'm definitely interested in optimizing it! The 2.0 version moved to precomputed embeddings and a few other nice speed ups. I have a bunch of ideas for speeding up "best" mode. You can try using the "fast" mode (interrogate_fast
) which is like 1 second per image. It doesn't give alignments as close as best though.
from clip-interrogator.
I'm definitely interested in optimizing it! The 2.0 version moved to precomputed embeddings and a few other nice speed ups. I have a bunch of ideas for speeding up "best" mode. You can try using the "fast" mode (
interrogate_fast
) which is like 1 second per image. It doesn't give alignments as close as best though.
I'm gonna try running it 7 times at once tomorrow maybe that'll work :) maybe there's a way to do that with this code, something like batch size or whatever
from clip-interrogator.
My python skills are not advanced enough to figure out multiprocessing with listdir 😅
I figured out how to skip already done captions but that doesn't seem to have any effect on multiprocessing, great for resuming though
from clip-interrogator.
hello, I managed to get the new interrogator to run locally but it only uses a fraction of my gpu power (10%) any way to optimize this? I'm trying to caption my database that has millions of images so it would be nice if it could be optimized. thanks smile
can you explain to me how you managed to run local. how to install?
from clip-interrogator.
Related Issues (20)
- Only keeping flavors.txt and removing other data files HOT 1
- Clip Interrogator EXT issue - incorrect prompt
- Interrogator 1: RuntimeError: The size of tensor a (3) must match the size of tensor b (9) at non-singleton dimension 0
- How to speed up? Which torch version is suggested HOT 3
- How to set lowvram mode on via settings?
- two errors
- Prompt generation issiue
- timing interrogation
- Is there any way to only return caption without tag
- Error occurred when executing ClipInterrogator: Remote end closed connection without response HOT 1
- How to set interrogation mode when used in another script?
- cannot find python: which version HOT 1
- Are there any expansion plans for comfyui? HOT 6
- run_cli.py just freezes? import open_clip freezes? HOT 1
- Exception <class 'RuntimeError'> HOT 4
- Does clip-interrogator have built-in queue processing? HOT 1
- Downloads BLIP Checkpoint every time HOT 2
- What does "Ranking against your own list of terms?" mean?
- SD crashed after install CLIP, how to fix it or remove it?
- Loading flavors.txt is very slow HOT 2
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-interrogator.