Quickstart
A jump-start guide to using Deep Lake.
How to Get Started with Activeloop Deep Lake in Under 5 Minutes
Version control, query, and train models while streaming your deep-learning datasets from a cloud of your choice.
Installing Deep Lake
$ pip3 install deeplakeFetching Your First Deep Lake Dataset
import deeplake
dataset_path = 'hub://activeloop/visdrone-det-train'
ds = deeplake.load(dataset_path) # Returns a Deep Lake Dataset but does not download data locallyReading Samples From a Deep Lake Dataset
# Indexing
image = ds.images[0].numpy() # Fetch the first image and return a numpy array
labels = ds.labels[0].data() # Fetch the labels in the first image
boxes = ds.boxes[0].numpy() # Fetch the bounding boxes in the first image
# Slicing
img_list = ds.labels[0:100].numpy(aslist=True) # Fetch 100 labels and store
# them as a list of numpy arraysVisualizing a Deep Lake Dataset
Create your own Datasets
Getting StartedCreating DatasetsLast updated
Was this helpful?