activeloopai / activeloopai/deeplake

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

Đang mở
#2,622 9 bình luận 0 reaction 1 người được giao Được @zapredelom nhận Xem trên GitHub
bug
Ngôn ngữ chính
C++
Star
9.2k
Fork
722
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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](https://github.com/activeloopai/deeplake/assets/6321990/06b941b4-37de-4ac3-960d-ebf4988a8329)

`
# 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](https://github.com/activeloopai/deeplake/assets/6321990/ca7ecef8-856b-40bc-8c2c-9c4132ebe63b)

### 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!)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.