chroma-core / chroma

the AI-native open-source embedding database
https://www.trychroma.com/
Apache License 2.0
15.28k stars 1.28k forks source link

[Bug]: chromadb 0.4.18 Multi-modal Collection query does not work #1439

Open uflexnihao opened 11 months ago

uflexnihao commented 11 months ago

What happened?

Huggingface is blocked.The only way I can get openclip model is from [https://www.modelscope.cn/models/AI-ModelScope/CLIP-ViT-H-14-laion2B-s32B-b79K/files].It's embedding is 1024. I used it as the OpenCLIPEmbeddingFunction's model.Put images into collection,it seems OK . But when I query use one image,the result is random(every time get different image as result).

Versions

OS: windows 10 chromadb: 0.4.18 open_clip:2.23.0 torch:2.1.1+cu118 \venv\Lib\site-packages\open_clip\model_configs\ ViT-H-14.json --> put model files from modelscope under /ViT-H-14
bug.zip

Relevant log output

No response

uflexnihao commented 11 months ago

python 3.10

HammadB commented 11 months ago

What do you mean by hugging face is blocked?

uflexnihao commented 11 months ago

What do you mean by hugging face is blocked

Huggingface can not be visited from CN.