Giter VIP home page Giter VIP logo

Comments (5)

nicolai256 avatar nicolai256 commented on June 7, 2024 2

by the way, the interrogator is really good, nicely done.
best one I've used so far 😄

from clip-interrogator.

pharmapsychotic avatar pharmapsychotic commented on June 7, 2024

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.

nicolai256 avatar nicolai256 commented on June 7, 2024

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.

nicolai256 avatar nicolai256 commented on June 7, 2024

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.

xxl2005 avatar xxl2005 commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.