About query_embeddings

#1
by lzzw666 - opened

How can I correctly obtain query_embeddings for offline retrieval? The current code for obtaining query_embeddings requires additional loading of images, for example:
query_inputs = model.data_process(
images=['query.png'],
text=[texts],
q_or_c="query",
)

There should be a way to embed text without images.

Thanks!

lzzw666 changed discussion status to closed

Sign up or log in to comment