Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

IndexError: index 0 is out of bounds for axis 0 with size 0 #8

Description

@skuma307

Hi, thanks for the great work in the open-source space. I am facing the below error:
index = faiss.IndexFlatL2(len(embeddings[0])) IndexError: index 0 is out of bounds for axis 0 with size 0

The faiss index is empty. There are no embeddings?

Can you help me debug this? I really appreciate any help you can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions