Quickstart
A jump-start guide to using Hub.
Installing Hub
Hub can be installed through pip.
Fetching Your First Dataset
Let's load MNIST, the hello world dataset of machine learning.
First, instantiate a Dataset
by pointing it to the dataset's locations. 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 Hub Dataset
Data is not immediately read into memory because Hub operates lazily. You can fetch data by calling the.numpy()
method, which reads data into a numpy array.
Congratulations, you've got Hub working on your local machine🤓
Last updated