RelevanceAI / vectorhub

Vector Hub - Library for easy discovery, and consumption of State-of-the-art models to turn data into vectors. (text2vec, image2vec, video2vec, graph2vec, bert, inception, etc)
https://relevanceai.com
551 stars 57 forks source link

embeddings of 1e-07 values #71

Closed AselToktogulova closed 3 years ago

AselToktogulova commented 3 years ago

Hello community,

I have only the 1e-07 values as result by all img2vec-models (I took the same picture from the given example)

from vectorhub.encoders.image.tfhub import BitSmall2Vec
image_encoder = BitSmall2Vec()
# 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png is locally saved as pic
sample = image_encoder.read('./pic.png')
emb = image_encoder.encode(sample)
[1e-07, ... 1e-07]

what do I wrong?

AselToktogulova commented 3 years ago

grafik