Skip to content

Bug Report: DocumentArray Embedding Projector visualization FileNotFoundError #34

@MikeTrizna

Description

@MikeTrizna

I'm not entirely sure what is causing this, but I keep getting the error `FileNotFoundError: [Errno 2] No such file or directory: {some long install path}/docarray/resources/embedding-projector/index.html.gz' when trying to run the minimal example from https://docarray.jina.ai/fundamentals/documentarray/visualization/#embedding-projector.

I first ran into it on Google Colab, after installing DocArray with pip install "docarray[full]" (Version 0.1.4). I then tried installing from source with pip install git+https://github.com/jina-ai/docarray.git (Version 0.1.5). This seemed to address that index.html.gz FileNotFound error, but then I got the message You should see a webpage opened in your browser, if not, you may open http://localhost:35967/static/index.html?config=config.json manually, which made me think it won't be possible in Colab (without additional tweaking).

I then tried to install on my local MacBook, using pip install "docarray[full]", pip install git+https://github.com/jina-ai/docarray.git, and conda install, but simply couldn't get around the index.html.gz FileNotFoundError.

I was so excited to see the Tensorboard Embedding Projector working so seamlessly in the documentation, so hopefully this bug report helps get that working more universally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions