Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: DocumentArray Embedding Projector visualization FileNotFoundError #34

Closed
MikeTrizna opened this issue Jan 11, 2022 · 4 comments · Fixed by #40
Closed

Bug Report: DocumentArray Embedding Projector visualization FileNotFoundError #34

MikeTrizna opened this issue Jan 11, 2022 · 4 comments · Fixed by #40

Comments

@MikeTrizna
Copy link

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.

@hanxiao
Copy link
Member

hanxiao commented Jan 12, 2022

Thanks for reporting, let me check

@hanxiao
Copy link
Member

hanxiao commented Jan 12, 2022

confirmed as a bug, will fix it now

@hanxiao
Copy link
Member

hanxiao commented Jan 12, 2022

hi, this is solved and released in 0.1.5, please do pip install -U docarray. thanks for reporting & closing this issue now. Further question can start with a new issue

@hanxiao
Copy link
Member

hanxiao commented Jan 12, 2022

okay i just realized there is a sub-quesiton in your issue: you were asking to run embedding projector inside Google colab, that is another thing tricky but should be doable, let me open a ticket for you. #38

@hanxiao hanxiao closed this as completed Jan 12, 2022
@hanxiao hanxiao linked a pull request Jan 12, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants