Step 5: Visualizing Datasets

Visualizing and inspecting your datasets.

How to Visualize Datasets in Deep Lake

One of Deep Lake's core features is to enable users to visualize and interpret large amounts of data. Let's load the COCO dataset, which is one of the most popular datasets in computer vision.

import deeplake

ds = deeplake.load('hub://activeloop/coco-train')

The tensor layout for this dataset can be inspected using:

ds.summary()

The dataset can be visualized in the Activeloop App or using an iframe in a jupyter notebook. If you don't already have flask and ipython installed, make sure to install Deep Lake using pip install deeplake[visualizer].

ds.visualize()

Visualizing datasets in Activeloop App will unlock more features and faster performance compared to visualization in Jupyter notebooks.

Visualizing your own datasets

Any Deep Lake dataset can be visualized using the methods above as long as it follows the conventions necessary for the visualization engine to interpret and parse the data. These conventions are explained in the link below:

pageDataset Visualization

Last updated