Skip to content

[BUG] ds.visualize not working in jupyter notebook for local dataset #2622

@journey-wang

Description

@journey-wang

Severity

P1 - Urgent, but non-breaking

Current Behavior

Hello everyone, I tried ds.visualize with dataset like 'hub://activeloop/animal10n-train', it worked in jupyter notebook. But with local dataset like './animal10n-train', ds.visualized showed nothing.

Steps to Reproduce

`import deeplake

it worked with remote dataset

dataset_path = 'hub://activeloop/animal10n-train'
ds = deeplake.load(dataset_path) # Returns a Deep Lake Dataset but does not download data locally
ds.summary()
ds.visualize()
`

image

`

copy to local

deeplake.copy('hub://activeloop/animal10n-train', './animal10n-train', num_workers=10)

it not worked

dataset_path = './animal10n-train'
ds = deeplake.load(dataset_path) # Returns a Deep Lake Dataset but does not download data locally
ds.summary()
ds.visualize()
`

image

Expected/Desired Behavior

ds.visualize worked with local dataset

Python Version

python3.10

OS

Ubuntu 18.04

IDE

Jupyter

Packages

deeplake 3.7.1

Additional Context

No response

Possible Solution

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions