Step 1: Hello World
Installing Deep Lake and accessing your first Deep Lake Dataset.
How to Install Deep Lake and Get Started
Installing Deep Lake
Deep Lake can be installed through pip. By default, Deep Lake does not install dependencies for audio, video, google-cloud, and other features. Details on all installation options are available here.
Fetching Your First Deep Lake Dataset
Let's load MNIST, the hello world dataset of machine learning.
First, instantiate a Dataset
by pointing to its storage location. Datasets hosted on Activeloop Platform are typically identified by the namespace of the organization followed by the dataset name: activeloop/mnist-train
.
Reading Samples From a Deep Lake Dataset
Data is not immediately read into memory because Deep Lake operates lazily. You can fetch data by calling the .numpy()
method, which reads data into a NumPy array.
Congratulations, you've got Deep Lake working on your local machine🤓
Last updated