Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

Vector Database

This is a chromadb based vector database containing indexed embeddings from the hugging face dataset: "Somnath01/Birds_Species".

Usage

import chromadb
from huggingface_hub import snapshot_download

vector_db_path = snapshot_download(
                  repo_id=vector_dataset.hf_dataset_path,
                  repo_type="dataset"
                )

client = chromadb.PersistentClient(
            path=os.path.join(vector_db_path, 
                              "bird_vector_db"))

collection = client.get_collection(name="BIRD")

# get 512*512 image feature vector

neighbors = collection.query(
                query_embeddings=[img_features[0].tolist()],
                n_results = 2)
Downloads last month
16