rom1504 / clip-retrieval

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

Can the search in the laionFace20M or laionFace50M? #227

Open mcanet opened 1 year ago

mcanet commented 1 year ago

Can it be search the API by the indice_name by laionFace (https://github.com/FacePerceiver/LAION-Face)?

Example:

client = ClipClient( url="https://knn5.laion.ai/knn-service",

indice_name="laion5B",

indice_name="laionFace50M",
aesthetic_score=9,
aesthetic_weight=0.5,
modality=Modality.IMAGE,
num_images=1,

)

At the moment it give me an error.

rom1504 commented 9 months ago

not possible but would be cool, please help creating these indices