Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3601

How to Export Vectors and Metadata to TSV for TensorFlow Projector

$
0
0

Hi @ROHAN_BALKONDEKAR,

Weaviate makes it easy to read all objects with vectors.
You need to use the iterator on your collection, like this:

collection = client.collections.get("YourCollectionName")

for item in collection.iterator(include_vector=True):
    print(item.properties)
    print(item.vector)

Here are the docs on how to read all data.

From this, you should be able to figure out how to save it to a TSV file.


Viewing all articles
Browse latest Browse all 3601

Trending Articles