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] ds.visualize cannot work offline in jupyter notebook with local dataset #2663

Closed
1 task
alphabet-lgtm opened this issue Oct 18, 2023 · 7 comments
Closed
1 task
Labels
bug Something isn't working

Comments

@alphabet-lgtm
Copy link

alphabet-lgtm commented Oct 18, 2023

Severity

P1 - Urgent, but non-breaking

Current Behavior

I try ds.visualize in jupyter notebook with loacl dataset, it failed to visualize the dataset.Like this
image

It reported a failure to connect to app.activateloop.ai.Why is it necessary to visualize a local dataset online?

Steps to Reproduce

import deeplake
ds = deeplake.load('./animals_complex_deeplake')
ds.visualize()

Expected/Desired Behavior

ds.visualize worked offline with local dataset

Python Version

3.8.18

OS

ubuntu 20.04

IDE

Jupyter

Packages

deeplake 3.8.0

Additional Context

No response

Possible Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)
@alphabet-lgtm alphabet-lgtm added the bug Something isn't working label Oct 18, 2023
@mikayelh
Copy link
Collaborator

Hi @alphabet-lgtm , can you please share your machine OS and environment details? Thank you. Once you share the details, I'll close this as a duplicate and move to #2622

@alphabet-lgtm
Copy link
Author

Hi @alphabet-lgtm , can you please share your machine OS and environment details? Thank you. Once you share the details, I'll close this as a duplicate and move to #2622

just ubuntu 20.04 and deeplake 3.8.0, ds.visualize() can work online

@mikayelh
Copy link
Collaborator

Thanks for the detail! I'll loop you in the original issue for visibility. We may have some more questions, please stay tuned. Have a great day!

@khustup
Copy link
Contributor

khustup commented Oct 18, 2023

Hey @alphabet-lgtm , even though the dataset is local and the visualization works fully in your local machine, but the visualization logic and functionality is web based and we don't ship the javascript logic with python package. So ds.visualize connects our backend to get the logic to visualize the data. That's why the network connection is still needed.

Please let me know if this answers your question. Let me know if you need additional questions. Thanks!

@alphabet-lgtm
Copy link
Author

Hey @alphabet-lgtm , even though the dataset is local and the visualization works fully in your local machine, but the visualization logic and functionality is web based and we don't ship the javascript logic with python package. So ds.visualize connects our backend to get the logic to visualize the data. That's why the network connection is still needed.

Please let me know if this answers your question. Let me know if you need additional questions. Thanks!

Thank you for your reply. I understand the issue. Will offline visualization be included in a future release?

@khustup
Copy link
Contributor

khustup commented Oct 18, 2023

Hey @alphabet-lgtm , even though the dataset is local and the visualization works fully in your local machine, but the visualization logic and functionality is web based and we don't ship the javascript logic with python package. So ds.visualize connects our backend to get the logic to visualize the data. That's why the network connection is still needed.
Please let me know if this answers your question. Let me know if you need additional questions. Thanks!

Thank you for your reply. I understand the issue. Will offline visualization be included in a future release?

We are considering to have python native visualizer in the future, but can't estimate now when that will be done.

@alphabet-lgtm
Copy link
Author

Hey @alphabet-lgtm , even though the dataset is local and the visualization works fully in your local machine, but the visualization logic and functionality is web based and we don't ship the javascript logic with python package. So ds.visualize connects our backend to get the logic to visualize the data. That's why the network connection is still needed.
Please let me know if this answers your question. Let me know if you need additional questions. Thanks!

Thank you for your reply. I understand the issue. Will offline visualization be included in a future release?

We are considering to have python native visualizer in the future, but can't estimate now when that will be done.

I understand, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants