rom1504 / clip-retrieval

Easily compute clip embeddings and build a clip retrieval system with them
https://rom1504.github.io/clip-retrieval/
MIT License
2.42k stars 213 forks source link

add clip-client python module for remotely searching backend. #156

Closed afiaka87 closed 2 years ago

afiaka87 commented 2 years ago

Well I couldn't quite merit the use of a context manager doing things synchronously - there's just not any state to keep track of. I noticed you use aiohttp here already, so if you'd like I can refactor to use that instead of requests?

Let me know if you have ideas how it could be better.

rom1504 commented 2 years ago

Cool

Could you run make black lint to fix the lint ?

afiaka87 commented 2 years ago

Sorry - going to close while i finish development so your CI stops re-running.